taurz
10-22-2003, 02:24 AM
HI!!
I am trying to create a referance no dynamically on the basis of the data inputed by the user.
I have a pull-down list and a text box. The user first selects from A,B,C,D in the list box. Then he goes to the text box and types in a number. Once he moves out of the text box, the referance number has to be created dynamically and be placed on the next line.
The referance number consists of
AIC/X/YYYY/MM/NNN
AIC is common - it is part of all referance numbers
X is the A,B,C or D from the list
YYYY is the current year
MM is the current month
NNN is the number inserted in the text box
How do I go about this? I am pretty new to java scripting. A few guidelines would be apprecated. Thanx for the help
TAURZ
I am trying to create a referance no dynamically on the basis of the data inputed by the user.
I have a pull-down list and a text box. The user first selects from A,B,C,D in the list box. Then he goes to the text box and types in a number. Once he moves out of the text box, the referance number has to be created dynamically and be placed on the next line.
The referance number consists of
AIC/X/YYYY/MM/NNN
AIC is common - it is part of all referance numbers
X is the A,B,C or D from the list
YYYY is the current year
MM is the current month
NNN is the number inserted in the text box
How do I go about this? I am pretty new to java scripting. A few guidelines would be apprecated. Thanx for the help
TAURZ