Jump to content

Structure or Procedural issue.


TomBrown

Recommended Posts

I have a structure or procedural issue.

 

My form is a PHP file.

 

I'm using nms_formmail.pl which requires the name of the file to be entered into the action field of the form.

 

I want to use PHP rather than Javascript to validate the form data. When using Javascript to validate I've used the onSubmit="return validate()" with the nms_formmail.pl in the action field.

 

The only way I can seem to get my PHP code to run is puting <?=$_SERVER['PHP_SELF']?> in the action field, but then I can't get my nms_formmail.pl to run without getting a message saying that nms_formmail must be in the action field.

 

Regards

 

Tom

Link to comment
https://forums.phpfreaks.com/topic/174342-structure-or-procedural-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.