Posted by aaron.reese on 07/12/06 12:23
Robert S wrote:
> I am unable to subdivide the page into multiple Forms because all of
> the data in the text fields needs to be updated when any of the Submit
> buttons gets clicked.
Why does that stop it from being in multiple forms. I am assuming you
are using PHP or PERL to subit the field values either to another
function or to an SQL update/insert string. If all the fields need to
be validated/updated then why not just have one submit button. If only
the field associated with the submit button needs to be
updated/inserted, then each field should be in a separate form. If you
want to do it client-side rather than server side, you could set the
on_click event of each submit button to run a javascript function to
carry out the validation. This function could take an argument which
would be the submit button clicked on.
If I've missed the point, then please repost with an example of your
problem
Navigation:
[Reply to this message]
|