PDA

View Full Version : textfield fieldLabel string colour



juste_millieu
17 Jan 2010, 11:19 PM
Hi,
Is there anyway to do something like

fieldLabel -> Password(*) then follow by textfield box

Regards,

Condor
17 Jan 2010, 11:52 PM
A fieldLabel can contain any valid HTML, so you could use:

fieldLabel: 'Password<span class="required">(*)</span>'

juste_millieu
18 Jan 2010, 12:44 AM
A fieldLabel can contain any valid HTML, so you could use:

fieldLabel: 'Password<span class="required">(*)</span>'

thank you very much. i tried with <font colour="red"> failed, but your solution solve it. thankx :)