Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Multiple forms on one page and updating

    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

  • #2
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Perhaps this is better posted in Javascript section. I have a thread opened there.

    See Updating fields in one form from another

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •