Hello all,
I have recently implemented validators on one of my pages, and it works
great. Only problem I am having
is that it prints out the error message in black, which doesn't really draw
the attention to the user as much
as I want it to.
1. <component id="QuotedPrice" type="TextField">
2. <binding name="value" value="QuotedPrice"/>
3. <binding name="translator" value="translator:number,pattern=#.#"/>
4. <binding name="validators" value="validators:required[You must
enter {0}!],min=1"/>
5. <binding name="displayName" value="literal:Quoted
Price"/>
6. </component>
Anybody know if I might embed a kind of CSS or even an HTML <font
colour=red> inside line 4?
I have tried :
<binding name="validators" value="validators:required[<font color=red>You
must enter {0}!]</font>,min=1"/>
but it didn't like it.
Thanks
-- Izak