Solved
JS to work on the same question on which it is written
I am wondering that how i can setup js on a question so that it should work on the same question on which it is written.
I tried on Unload function, but it is not working.
I have created a single punch grid as a non-mandatory grid, but I want that if anyone click on it without answering even a single response, he/she should see message "Please provide answer".
Best answer by TomG
@Mohammedali_Rajapakar_Ugam - That won't stop the page from advancing after the alert.
@salimlko - Assuming your addOnUnload code was correct, change addOnUnload to addOnPageSubmit.
View originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.