[html-formfu] transformer is not called if form is not valid

Hailin Hu i at h2l.name
Thu Dec 6 00:39:41 GMT 2012


Thank you, Carl.

Actually there is no form there.
I tried to ignore error value, so in another word, there is no error.
I think I should remove constraints and handle values just in transformers.

On Wed, Dec 5, 2012 at 10:48 PM, Carl Franks <fireartist at gmail.com> wrote:
> Hi,
> Sorry - this is how it's meant to work.
>
> http://search.cpan.org/~cfranks/HTML-FormFu-0.09010/lib/HTML/FormFu.pm#FORM_LOGIC_AND_VALIDATION
>     "In each stage, all form fields must be processed without error for the
>      next stage to proceed. If there were any errors, the form should be
>      re-displayed to the user, to allow them to input correct values."
>
> Carl
>
>
> On 5 December 2012 07:41, Hailin Hu <i at h2l.name> wrote:
>> As the title, if validation is failed, I get value not transformed.
>> Is this expected?
>>
>> _______________________________________________
>> HTML-FormFu mailing list
>> HTML-FormFu at lists.scsys.co.uk
>> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
>
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu



More information about the HTML-FormFu mailing list