JScript - Generate Mailing Name & Salutation

Fertiggestellt Veröffentlicht Mar 17, 2003 Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

I require a very simple Java Script function that will generate the Mailing Name and Salutation from six other fields within the same form.

The six fields on the form are:

Title1

FName1

GName1

Title2

FName2

GName2

The **Mailing Name** (called name on the form) is to be populated when the field 'gets focus'.

The value of Mailing Name could be different pending on three different senarios.

1. When Title2, FName2 and GName2 are empty:

Mailing Name = Title1 first letter of GName1 and FName1

EG: Mr J Smith

2. When FName1 = FName2

Mailing Name = Title1 and "and" and Title2 first letter of GName1 and FName1

EG: Mr and Mrs J Smith

3. When FName1 <> FName2

Mailing Name = Title1 first letter of GName1 and FName1 and "and" and Title2 first letter of GName2 and FName2

EG: Mr J Smith and Miss A Jones

**The Salutation** (called salutation on the form) is to be populated when the field 'gets focus'.

The value of Salutation could be different pending on three different senarios.

1. When Title2, FName2 and GName2 are empty:

Salutation = Title1 and FName1

EG: Mr Smith

2. When FName1 = FName2

Salutation = Title1 and "and" and Title2 FName1

EG: Mr and Mrs Smith

3. When FName1 <> FName2

Salutation = Title1 and FName1 and "and" and Title2 FName2

EG: Mr Smith and Miss Jones

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. 4) Code must be well commented.

## Platform

Windows Server 2000

ASP Ingenieurwesen Java MySQL PHP Softwarearchitektur Testen von Software Visual Basic

Projekt-ID: #2916701

Über das Projekt

5 Vorschläge Remote Projekt Aktiv Mar 17, 2003

Vergeben an:

amsterdamd

See private message.

$15 USD in 14 Tagen
(99 Bewertungen)
5.8

5 Freelancer bieten im Durchschnitt $19 für diesen Job

agrasth

See private message.

$12.75 USD in 14 Tagen
(107 Bewertungen)
6.2
ashbensl

See private message.

$42.5 USD in 14 Tagen
(43 Bewertungen)
6.1
djschick

See private message.

$14.45 USD in 14 Tagen
(12 Bewertungen)
2.6
vw664868vw

See private message.

$12.75 USD in 14 Tagen
(7 Bewertungen)
2.4