How to Highlight a textfield if the type conversion fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to Highlight a textfield if the type conversion fails

Thangadurai
I have Textfield  of type Double , If suppose user enters a  String like "6.egf"  type conversions fails and error message is shown in feed back panel , but I want Textfield component to be highlighted and I need force the user to enter a decimal seperator by giving proper error messages .