Re: HTML_QuickForm DHTML client rules and SoftRequired rule
| From: | Mark Wiesemann | Date: | Sun, 26 Mar 2006 19:18:26 +0000 |
| Subject: | Re: HTML_QuickForm DHTML client rules and SoftRequired rule | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41986@lists.php.net to get a copy of this message | ||
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)));
Regards,
Mark