in reply to Why is my CGI.pm script trying to assign data before pressing submit.
function checkform (form) { if (form.report.value == "") { alert("You need to enter a filename!"); form.report.focus; return false; } return true; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Why is my CGI.pm script trying to assign data before pressing submit.
by CharlesClarkson (Curate) on Dec 07, 2001 at 20:30 UTC |