Posted: 17 Jan 2019 5:13 EST Last activity: 28 Mar 2019 10:41 EDT
How to avoid Pop Up message for Required fields validation on click of local action button
I am having requirement as there will be one button on pyCaseHeader. On click of that button we are launching local action and displaying options for routing either to workbasket or to operator and Customized buttons as ok and cancel.
The moment when I click on OK, it is showing validation message for required UI fields(Attached screenshot). But as per my requirement, that Pop-Up should not appear.
Can you try to Disable Client-Side Validation at the harness level and check if the same issue still comes up? Also, can you please tell me which version it is? I will try the same at my end and will update you.
If I remove client side validation check box in Harness level, my scenario will be worked but for application flow it should show that Pop up message whenever end-user tries to submit the flow without filling mandatory fields. So this is not the solution for my problem.
As you have ypur own buttons then , on clcik of the ok button call the disable client validation (using run script ) and then your functionality (save or finish assignment) and then after that again run a script and enable the client side validation.