Pass data in Hidden Fields

liunx

Guest
I have two forms- say FormA and FormB in the same page. Is it possible to pass the values from FormA to the hidden fields of FormB. I am sending the form data to different URL's. The user enters data once, so knowing an easy way to assign FormA variable/values to hidden fields of FormB will be useful.<br />
<br />
Thanks.<!--content-->This should work, I made the input fields of formb into text fields so that you can see the effect:<!--content-->Thanks for the suggestion using Javascript. Actually I was wondering if one can pass values from FormA into FormB's hidden fields without pressing an explicit button.<!--content-->well the user has to do something, I mean it cant do it on its own. What did you have in mind. On text box change or something of that nature?<!--content-->I was hoping for (if it is possible) a direct way to assign values from FormA to hidden fields in FormB, so that when the user presses the submit button in FormB, the values of FormA are also submitted to the server.<br />
<br />
Thanks.<!--content-->Wait wait wait, are you trying to recorde these values? How the heck are you planning to do that eh? If you are I would suggest picking up a nice big book on a server side language.<!--content-->
 
Back
Top