PDA

View Full Version : Validation


Matt
10-03-2000, 10:57 PM
:confused:
I'm confused!?
I want to set a validation rule where one text value must be the same as another. This is not for a web page so I can't use JavaScript.
Matt

Titan
10-05-2000, 05:28 PM
a quick if statement can be used as validation:
(perl)
$form{'EMAIL'} = lc($form{'EMAIL'});
$form{'CEMAIL'} = lc($form{'CEMAIL'});
&oops('Confirm EMAIL') unless ($form{'CEMAIL'});
&oops('Email Addresses Do Not Match') unless ($form{'EMAIL'} eq $form{'CEMAIL'});


for flat file system...
reply if you still need help or are using another language...



------------------
Best of Luck!

Titan
ICQ 37149892