+ Start a Discussion
himanshu huske 7himanshu huske 7 

To HighLight Empty Fields in Aura

I have 2 tabs in application.
first is application, second is summary.
application has some field in which we input data and save,
and summary shows all data entered in application,
also has edit button, which redirect to application tab.
I want functionality such that, after redirecting to application tab.
whatever fields are empty in application should be highlited with some message below it
Danish HodaDanish Hoda
Hi Himanshu, 
An easier way I can think of would be to have all the input values mandatory, and use checkValidity() method to show the message below every field.