Jump to content

Recommended Posts

Hi guys,

 

I have form that contains several input boxes. I set the value of the 1st input box like:

 

<input type='text' name='email1[]'value="enter guest email here" />

 

but how can I set the values of other input boxes bases on the 1st input box?

 

something like:

 

<input type='text' name='email2[]'value=email1 />

 

cheers

thanks,

basically on my form I have a hidden input box that upon loading has a random id entered into it.

 

now, on the same form I have 10 username & email textboxes for users to enter their information in, next to each row (username box & email box) i have hidden input boxes that I want to copy the random id into. this way when I send the the data to the mysql database I have the key identifyer.

 

any thoughts?

 

cheers

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.