anewt-developers team mailing list archive
-
anewt-developers team
-
Mailing list archive
-
Message #00048
[Bug 3281] Re: Filter support for forms
Finally a fix for the oldest open bug in anewt.new.cxs:
1463 Sander van Schouwenburg 2009-05-05
[form] Filter support in form controls.
You can add filters to AnewtFormControl's:
1. $control->add_filter($filter);
2. $control->add_filter($filter, $message);
The first form silently modifies the value according to the filter. The second
form checks whether the filter has modified the value, if so blocks validation
and sets the error message to $message.
--
Filter support for forms
https://bugs.launchpad.net/bugs/3281
You received this bug notification because you are a member of Anewt
developers, which is subscribed to Anewt.