Ryan Tate | 4 Mar 22:07

Re: [FormBuilder] requiring any of several fields

On 3/3/07, Nate Wiger <nwiger <at> gmail.com> wrote:
> Have you tried using the FormBuilder Data::FormValidator support?

No, I had not! Thanks for the pointer. I see now this case (requiring
any one of several fields) is cited specifically in the docs, sorry
for missing it.

So if I pass a D::FV obj as the validate argument to
CGI::FormBuilder->new, will the additional validation I set up for
various fields still work? ie can I still do
$form->field(name=>'email',required=>1,validate=>'EMAIL');
? Or do I have to do everything through the D::FV object?

Looks nice.
_______________________________________________
FBusers mailing list
FBusers <at> formbuilder.org
http://www.formbuilder.org/mailman/listinfo/fbusers


Gmane