in reply to Multiple and Nested <FORM>s in CGI - HTML

Not sure about nested forms, but as far as multiple forms on a page:
  • Comment on Re: Multiple and Nested <FORM>s in CGI - HTML

Replies are listed 'Best First'.
Re^2: Multiple and Nested <FORM>s in CGI - HTML
by throop (Chaplain) on Aug 17, 2007 at 15:58 UTC
    > Submit should only send the params for the form it belongs to.

    So is there a straightforward way to make the params in the other forms persistent?

      Are you trying to retain values from other params in other forms on the page once one is submitted?
        I'm really just trying to understand somebody else's code and understand why they'd use multiple FORMs on a page. I'd like to follow the same coding style as has already been used the project, unless it's a bad idea. (Other than the project's coding standard of including no comments whatsoever...&smiley; )

        It appears to me that one big drawback to multiple forms is that params from the other FORMs don't persist. I want to make sure that this really is a drawback, and there isn't an obvious, easy workaround. I'm also fishing to see if there's some advantage to having multiple FORMs – some advantage that's completely escaped me so far.