• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Validation of Long Forms

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm very new to javascript. I recently developed a very long form (100 variables) from which I am using PHP to gather the data and write into a file for SAS processing. I downloaded several javascript validation functions and they all take an extremly long length of time due to the large number of variable being checked. Does anyone know of a quick way that I can segment the survey so that can I present and validate smaller chunks of the survey before submitting the final form. Right now, all validation is done after the user clicks SUBMIT for the entire form.

Thanks,
Jim Murrell
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are you checking for exactly? Are they all text boxes?

Eric
 
jim Murrell
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Eric,
The forms are largely radio buttons. There are a few checkboxes and text boxes. Most are simply validation to make sure that an item from each question is checked.

Thanks,
Jim Murrell
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I will finish up a blog I have been working on and have it posted tonight or tomorrow morning. Talks about a simple validation script and how to build it.

Eric
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See if this script helps: http://radio.javaranch.com/pascarello/2005/03/13/1110691820972.html

Eric
 
reply
    Bookmark Topic Watch Topic
  • New Topic