Re: Re: HTML_QuickForm DHTML client rules and SoftRequired rule
| From: | Justin Patrin | Date: | Sun, 26 Mar 2006 19:36:25 +0000 |
| Subject: | Re: Re: HTML_QuickForm DHTML client rules and SoftRequired rule | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41987@lists.php.net to get a copy of this message | ||
On 3/26/06, Mark Wiesemann <wiesemann@php.net> wrote:
> Mark Wiesemann wrote:
>
> > A nice addition to this would be the removal of '- ' before the error
> > message. The addition of '- ' makes sense in the alert window from QF
> > but not that much when showing the error messages above each field of
> > the form. I did not check where this is done in the QF code, but maybe
> > you have an (easy) idea how to get rid of '- '?
>
> I've found the solution myself, it was easier as I thought:
> Just replace line 96 with:
> msgDiv.appendChild(document.createTextNode(_qfMsg.substring(3)));
>
I've changed the code to do this. Thanks. :-)
--
Justin Patrin