Re: Enforce required fields/field validation in HTML forms

From: Thomas Dunbar <tdunbar_at_gserver.grads.vt.edu>
Date: 1995/09/04
Message-ID: <42fjrb$hn2_at_solaris.cc.vt.edu>#1/1


Bob Beauchemin <bobb_at_udp.com> wrote:

> I want to be able to do field validation in a CGI (perl)
>script. If a field is invalid, I'd like to be able to send
>out the same HTML, slightly modified, so that the user doesn't
>lose all their input (ie, the fields the user filled in would
>be retained). An error message would be returned, and the user
>would be allowed to modify the field in error. Simple, no?

an example perl script to do this, in the context of Oracle and PL/SQL, is in the June 22 log entry at

   http://gserver.grads.vt.edu/

the example (http://gserver.grads.vt.edu/plperl.pl) there choses the strategy of hiding valid fields and just displaying invalid entries for correction. The file

    http://gserver.grads.vt.edu/polemic.html

has some related info

-- 
Thomas Dunbar    540 231-3938    http://gserver.grads.vt.edu/
Received on Mon Sep 04 1995 - 00:00:00 CEST

Original text of this message