Connecting Tech Pros Worldwide Help | Site Map

Javascript multiple tabs form validation

  #1  
Old August 6th, 2007, 09:16 AM
Newbie
 
Join Date: Aug 2007
Posts: 1
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?
  #2  
Old August 6th, 2007, 11:27 AM
Administrator
 
Join Date: Sep 2006
Posts: 12,084

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why use asp controls instead of HTML inputs? =?Utf-8?B?U2hhd24gUmFtaXJleg==?= answers 8 May 23rd, 2007 12:35 PM
VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help gunimpi answers 0 January 10th, 2007 08:55 PM
setting focus to a tabe cell. Praveena.Alapati@gmail.com answers 1 September 15th, 2006 09:35 AM
Fitting lots of fields on one web page Geoff C Melbourne answers 3 November 19th, 2005 01:23 PM