...

View Full Version : Multiple forms on one page and updating



gazsux
01-09-2004, 12:15 AM
Hello,

I want to know how I can update a field in another form.

For example. If I have a webpage with two forms on it. I have a name field on form1. When I submit form1 I want it to process that form but also update a textarea in form2 with the content of the name field from form1.

I know if I wanted to use a drop down box to update a field in the same form I can do something like:

<select name="common" onchange="this.form.headline.value=this.form.common.options[this.form.common.selectedIndex].value;this.form.common.selectedIndex=0">

...

</select>

Is it similar if I want to update a field in another form on the same page?

I hope I have explained it clearly and that this is the right section for such a query. Any help is appreciated.

Thank you

gazsux
01-10-2004, 07:49 PM
Perhaps this is better posted in Javascript section. I have a thread opened there.

See http://www.codingforums.com/showthread.php?s=&threadid=31341#

(It was me being silly, I'm not spamming my query over several sections deliberately)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum