The problem is that the form is where the fields that are "required" are specified, so if someone just enters the url in the browser, then the script is executed without any "required" fields.
You could hard-code the script itself to check for the specific fields, except that I don't know...