George Hartzell writes:
>
> I have a page that has several forms, each form has a hidden input
> named "rm" which specifies a unique the runmode for the contents of
> that form.
>
> The runmodes use CAP::ValdateRM. When there's an error, it generates
> an error page for me but files in *all* of the forms' "rm" input
> variables with the value of the runmode that generated the error.
>
> I understand why it's happening, but the resulting form doesn't do the
> right thing if someone chooses one of the other submit buttons.
>
> Anyone have any suggested work arounds?
I apologize for answering my own questions, but adding
{ ignore_fields => ['rm'] },
to the check_rm call seems to make it behave.
Does that seem like the right solution?
g.
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]