Javascript multiple tabs form validation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramu007
    New Member
    • Aug 2007
    • 1

    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?
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    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.

    Comment

    • ashsa
      New Member
      • Feb 2007
      • 45

      #3
      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 ??

      Comment

      Working...