I created a tab page (two tabs). I wanted the user not able to go to the second tab without filling the mandatory field of the first tab.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Its Work. Thank you
To do this, create the below JavaScript function in the Function and Global variable declare section of the page:
Then create a dynamic action on the first tab page item on the Lose Focus event. And create a true action to Execute the JavaScript code and add the following JavaScript code in it:
The cursor will not move on to the second field unless the user does not fill in any data.