Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to highlight the field label upon UI Action

shun6
Giga Sage

Hi all,

I have a requirement to highlight field label when user click the UI Action.

For example if field "A" is empty and user click the UI action, field "A" would be highlighted.

I don't want to make field "A" mandatory field.

 

Thanks.

2 REPLIES 2

Anurag Tripathi
Mega Patron

Hi,

Using a code like below you can make a field flash

 

g_form.flash("incident.number","#FFFACD",0);

 

 

-Anurag

Sandeep Rajput
Tera Patron

@shun6 You can use the flash method in the client side code of a UI Action to highlight a specific field.

g_form.flash("incident.number", "#FFFACD", 0);
 
Hope this helps.