To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 1480
1479  |  1481
Subject: 
CGI question
Newsgroups: 
lugnet.off-topic.geek
Date: 
Thu, 6 Apr 2000 23:25:07 GMT
Viewed: 
96 times
  
I have the following perl script that I inherited in
a program I am supposed to fix, the perl I understand,
but I'm not really up on Forms..

http://www.thefosterfamily.org/junk.html

Normally, you enter a login and then hit the submit
button and things work well.  If you hit submit with no
text in the login field, the javascript gives you an error
message, but if you leave the login field blank and hit
return, the program goes on leaving the field blank.

How can I check if the user has put data into the login field?


Paul



Message has 1 Reply:
  Re: CGI question
 
(...) well, not sure how you can do it with java, but you shouldn't rely on java for form validation anyhow - it's unreliable, and easily overcome. If you had to, you could add another text field, in which case enter won't submit the form, and you'd (...) (25 years ago, 6-Apr-00, to lugnet.off-topic.geek)  

14 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR