"Justin Patrin" wrote:
> I've just altered the class a bit to get rid of this
requirement. I
> overrode the display() method so it calls
getValidationScript()
> itself. If you don't use display() you'll still have
to add the extra
> call to set up the JS event handlers.
Although I'm not affected by this change (I'm not using
display()), just
my opinion: Error messages should be shown if there is an
error. Showing
the error message when the user types his name (or whatever)
into a form
field, should not be the default case.
Of course, it is easy to remove the display() function from
your class
to get back the behavior from yesterday.
Regards,
Mark
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|