How to set focus on mandatory fields if they are not filled?

GV Saranesh Kum
Kilo Guru

Hi all,

 

I observed, if mandatory fields are not filled and we try to submit the form, it gives the prompt window, stating 'the below are fields are mandatory: fieldname1, fieldname2..". Once we click OK, it sets the focus (cursor) on the unfilled mandatory field. This functionality works only if the field appear on the form, if the field is in section, it doesn't. Any suggestion how to achieve it.

 

Also as mentioned fieldname1, field name2 on the prompt message, they do not follow any order (i am expecting they should be in the order they were placed on the form).

 

kindly help.

 

Regards,

Saranesh.

10 REPLIES 10

omar10148
Tera Contributor

hi @GV Saranesh Kum  @mansooromar 

Did you find the solution ? i have the same requirement, make focus on filed emty on workspace