Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Javascript multiple tabs form validation

Question posted by: ramu007 (Newbie) on August 6th, 2007 08:16 AM
dear sir/madam,
i am working in java/j2ee. In my project using javascript as client side validation. my project have single but multiple tabs like mycomputer properties in out PC.each tab having a form.i want validate every tab and all form data's will submit in last tab.if any field having invalid data(consider third tab have phoneno field but i entered charcters.the field i must enter numbers). now i am in last tab at submit the form.the cursor automatically go to third tab in particular field.how can to do?
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
r035198x's Avatar
r035198x
Administrator
10,647 Posts
August 6th, 2007
10:27 AM
#2

Re: Javascript multiple tabs form validation
Quote:
Originally Posted by ramu007
dear sir/madam,
i am working in java/j2ee. In my project using javascript as client side validation. my project have single but multiple tabs like mycomputer properties in out PC.each tab having a form.i want validate every tab and all form data's will submit in last tab.if any field having invalid data(consider third tab have phoneno field but i entered charcters.the field i must enter numbers). now i am in last tab at submit the form.the cursor automatically go to third tab in particular field.how can to do?


Moved to Javascript forum.
P.S Welcome to TSDN.

Reply
ashsa's Avatar
ashsa
Member
40 Posts
August 6th, 2007
11:15 AM
#3

Re: Javascript multiple tabs form validation
Quote:
Originally Posted by ramu007
dear sir/madam,
i am working in java/j2ee. In my project using javascript as client side validation. my project have single but multiple tabs like mycomputer properties in out PC.each tab having a form.i want validate every tab and all form data's will submit in last tab.if any field having invalid data(consider third tab have phoneno field but i entered charcters.the field i must enter numbers). now i am in last tab at submit the form.the cursor automatically go to third tab in particular field.how can to do?


Could you please post a sample of your code demonstrating how you have implemented your tabs as ??

Reply
Reply
Not the answer you were looking for? Post your question . . .
183,813 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top Javascript / DHTML / Ajax Forum Contributors