Oskari 'Okko' Ojala wrote:

Is there some other method to match a correct Callback if there are many?

Personally, I use a regex on the value of the callback field. Obviously, that doesn't work if you're not actually specifying a callback value.

Being able to specify a name for the constraint would be much better.


Also, after forcing an error and calling $form->process, $form->submitted_and_valid still returns true. Could it change to return false, as then the form is not valid anymore?

Reference:
http://search.cpan.org/~cfranks/HTML-FormFu-0.06001/lib/HTML/FormFu/Manual/Cookbook.pod#Custom_error_messages

That is, surprisingly, by design:

http://www.mail-archive.com/html-for...@lists.rawmode.org/msg00127.html


Ronald

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to