Hi, I have a problem
Here is my situation. I have 1 html page, this html passes 4 hidden values to another html form (without problems).
On my second html page, this is a registration page. It asks for Name, DOA and occupation.
Name is a text field. The occupation is a dropdown list and the DOB consists of 3 dropdown lists (yr, month, day).
The dropdown list all have values assigned to them.
1 of my questions is how can I assign those values on this page to a hidden value to be tranfered to another html page?
<INPUT TYPE="hidden" name="Occupation" VALUE='document.form1.txtoccupation.value'>
I tired that line, but it doesn't seem to work.
I am trying all this under 1 form.
my second question is how can I make the yr, month and day for DOB into 1 variable so only that is passed.
I've been trying this for a few days, any help would be appreciated.
Here is my situation. I have 1 html page, this html passes 4 hidden values to another html form (without problems).
On my second html page, this is a registration page. It asks for Name, DOA and occupation.
Name is a text field. The occupation is a dropdown list and the DOB consists of 3 dropdown lists (yr, month, day).
The dropdown list all have values assigned to them.
1 of my questions is how can I assign those values on this page to a hidden value to be tranfered to another html page?
<INPUT TYPE="hidden" name="Occupation" VALUE='document.form1.txtoccupation.value'>
I tired that line, but it doesn't seem to work.
I am trying all this under 1 form.
my second question is how can I make the yr, month and day for DOB into 1 variable so only that is passed.
I've been trying this for a few days, any help would be appreciated.