Can I Cancel Submit if my field in not hidden?
My form checks from the user if he has filled the form previously or no. If he/she chooses yes in radio button I show an id box to enter the id they used. On filling the ID, some times they try to click submit anyway and it ends up asking for all the mandatory hidden fields which is a mess.
I want to cancel submit if my field which determines if the user has filled the form before is visible and not hidden?
Is this possible?