[phplib] Re: Get error messages from form element validation From: Jens Benecke (jens <email protected>)
Date: 04/29/01

On Sun, Apr 29, 2001 at 08:19:59PM +0200, Jens Benecke wrote:
> On Sun, Apr 29, 2001 at 07:51:34PM +0200, Jens Benecke wrote:
> > Hi,
> >
> > I'd like to somehow get at the error messages which I defined in
> > OOHForm's add_element method, if the validation failed. Is that possible?
> >
> > ($f->validate() doesn't return the error string, it returns a boolean,
> > which is useless to me)
> So it seems that the validation is completely broken - has anyone else had
> this problem?

I found two bug reports which have EXACTLY my symptoms. Here:

http://www.phpbuilder.com/mail/phplib-list/199911/0369.php?print_mode=1
http://www.geocrawler.com/archives/3/195/1999/3/0/1373601/

This basically makes OOHforms unusable when used with Template.

Is there a fix?

-- 
Jens Benecke                   "Und deshalb sollte man ja auch immer _alle_
                                 Editoren installieren:  XEmacs _und_ Vim."
				                             -- Sven Guckes
http://www.hitchhikers.de/ - Die kostenlose Mitfahrzentrale für ganz Europa

  • application/pgp-signature attachment: stored