[html-formfu] self.form.has_errors in TT templates
Steffen Schwigon
schwigon at webit.de
Wed Jan 16 08:41:58 GMT 2008
Steffen Schwigon <schwigon at webit.de> writes:
> "Carl Franks" <fireartist at gmail.com> writes:
>> On 15/01/2008, Steffen Schwigon <schwigon at webit.de> wrote:
>>> However, I'm somehow unable to find the replacement of something I did
>>> before:
>>>
>>> [% IF self.form.has_errors %]
>>> ...
>>
>> It's fixed now
>
>> - it's not strictly necessary because "self" in the
>> form template is the form, so "self.form" is a bit redundant - but
>> anyway, I've fixed it in svn so it'll work.
Damn :-), in the meantime I tried svn version. Now I see my problem
was not about "self.form" vs. "self", but about a seemingly
non-working "has_errors", which still does not contain the fields with
errors.
Any more hints?
Thanks.
Steffen
--
Steffen Schwigon <schwigon at webit.de>
Dresden Perl Mongers <http://dresden-pm.org/>
Deutscher Perl-Workshop <http://www.perl-workshop.de/>
More information about the HTML-FormFu
mailing list