Question
3
Replies
632
Views
aaseya it services pvt.ltd
Posted: April 8, 2019
Last activity: April 9, 2019
How to focus on field having error message
I have 20 fields in my screen on click of submit button it will trigger error messages on fields which are not filled and needed the screen should point to that place dynamically.
Thanks,
Mounika
Hi Mounika,
I don't see any way to achieve this functionality using OOTB rules, may be you need to write a Java script code to achieve it. I assume you want to point to the first text field which has the error message if you have multiple text fields with error messages. You can look into the below discussion which talks about the focusing the field on screen load which might help you to write your function.
https://community1.pega.com/community/product-support/question/how-set-focus-load-screen
Hope it might help you.
Regards,
Mahesh M