Are you trying to retain values from other params in other forms on the page once one is submitted? | [reply] |
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.
| [reply] |
'no comments whatsoever' is never fun when you are digging through someone else's code. Do these multiple forms actually point to different actions? I am just trying to, like you, wrap my head around this...
Perhaps, if you want to post some form of the code, maybe I can help understand? (as much as possible on a friday evening anyway...)
Edit - just re-read in the OP that they do have different actions...still, if you respond before I head out for the night perhaps I can help...
| [reply] |
The benefit is modularity, take perlmonks for example, each component is standalone, you just drop it in.
| [reply] |