Posted by lsolesen on 12/11/05 23:47
I am using PEAR's HTML_QuickForm. However, I've encountered a problem
when trying to add a bit advanced display of error. It should not just
change the html at one place, but on several places.
What I want is the following:
<label<!-- BEGIN error --> class="error"<!-- END error -->>{label}
<!-- BEGIN required --><span class="required-marker">*</span><!-- END
required -->
{element}
<!-- BEGIN error -->{error}<!-- END error -->
</label>
This template doesn't work. So is there some way to accomplish what I
am trying?
Entire source code available on:
http://www.vih.dk/new/form.php
Navigation:
[Reply to this message]
|