Marie Shvartsapel | 15 Mar 17:18
Favicon

Re: HTML::Template + validation = strange behavior?; Custom messages?

Update:
    setting "keepextras" to 0 seems to fix it. But I need to use 
keepextras because I'm using it for keeping "mode" parameter...(as 
recommended in *Advanced Tutorial - Step 9: Multi-Screen Apps 3 @ 
FormBuilder.org)
*   
One more question:
       I'm trying to change default messages, specifically the tag  that 
wraps around error messages.  I'm passing  the hash to the FB's new() 
method, as shown in the docs:
            messages => {
                form_invalid_opentag => '<span style="color: red">',
                form_invalid_closetag => '</span>'
            },
It does not have any effect for me.
Can anyone spot my mistake?

Thanks for your help,
Marie

Marie Shvartsapel wrote:

>Hello,
>
>I'm new to the FormBuilder and to this list, so please excuse me if this has
>been discussed already.
>I am trying to use HTML::Template template + validation functionality of the
>FB. I turned off JavaScript and want to use server side validation only.
>
>Let me describe the scenario in short: Form is displayed, submitted (with
(Continue reading)


Gmane