Re: More error problems with QuickForm

From: Date: Sun, 04 May 2003 14:22:49 +0000
Subject: Re: More error problems with QuickForm
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15828@lists.php.net to get a copy of this message
Hi! Jon Wood wrote:
Ok, I've got the list of errors working now, but I'm trying to just mark fields with errors in the main form by putting a symbol next to them, instead of the full error text (since that's already at the top).
Well, currently ITDynamic works like this: 1) If there is an error block near the element, then assign a error message else store it into the $_errors property 2) If $_errors is not empty, then display the errrors in qf_error_loop block. This essentially means that the error will be displayed only once: either in the form itself or above the form. If you want to display it *twice*, you have to tweak the logic of the renderer.

« previous php.pear.dev (#15828) next »