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.
❇️ OrclQA.Com is a question and answer forum for programmers.
❇️ Here anyone can ask questions and anyone can answer to help others.
❇️ It hardly takes a minute to sign up and it is 100% FREE.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
OrclQA.Com is a question and answer forum for programmers.
Here anyone can ask questions and anyone can answer to help others.
It hardly takes a minute to sign up and it is 100% FREE.
Vinish Kapoor
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.
Shimul
Its Work. Thank you