cancel
Showing results for 
Search instead for 
Did you mean: 

Highlight data in input field on focus

Former Member
0 Kudos

Is there a way to highlight input field in a table on focus ? See a lot of posts dealing with highlighting input fields with error messages for input validation purposes, but nothing reg issue on the subject line.

The reason we need this capability is because some of the input form fields are numeric, and are prepolulated with default "0". Currently the user has to manually delete the default entry before entering the value. We are looking at ways to avoid this.

Thanks in advance !

Accepted Solutions (0)

Answers (1)

Answers (1)

lajitha_menon
Contributor
0 Kudos

Hi,

When you do requestFocus, the contents a highlighted automatically I believe. But this can be done only for one field..not for all the fields when the cursor moves there,

LM

Former Member
0 Kudos

When I tab over to the input field on the table, data is not highlighted. Not looking to highlight all the input fields, just only when the user tabs over to the field for data entry. Do let me know if there is a way.

Thanks !