Connecting Tech Pros Worldwide Help | Site Map

Javascript multiple tabs form validation

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 6th, 2007, 08:16 AM
Newbie
 
Join Date: Aug 2007
Posts: 1
Default Javascript multiple tabs form validation

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?
Reply
  #2  
Old August 6th, 2007, 10:27 AM
Administrator
 
Join Date: Sep 2006
Posts: 11,940
Default

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
  #3  
Old August 6th, 2007, 11:15 AM
ashsa's Avatar
Member
 
Join Date: Feb 2007
Location: New Delhi, India
Posts: 43
Default

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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.