Link to home
Start Free TrialLog in
Avatar of clinthammer
clinthammer

asked on

HTML form processing CGI in email

We have the following form:

http://www.mmg-me.com/X3.jpg

When the user presses the submit button, it should call the CGI script (on our server its in a folder in CGI-BIN called formmail/formmail.pl) and process the information.

Processing involves sending the info to a recipient email address. Then another HTML page thanking the user will be displayed.

Now the form will be sent to clients in an email hence a plain html email. My question is, will the form in the email process when the user presses the submit button.

I asked a web designer for assistance and he told me this:

The CGI Script will reside on the clients server. The email to the recipients would be plain HTML with all the form elements. When the user fills up the data, and presses submit, the action will take the user to the clients domain address, where the client has the CGI Script running. And the domain can retrieve the data from the click

In this scenario, there are no scripts embedded into the email. Instead client has to make sure the FORM ACTION value should be defined as a complete URL.

SOLUTION
Avatar of divt
divt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of clinthammer
clinthammer

ASKER

Thanks I tried it and mentioned the full url of the formmail.pl file and the form works. You can try it at http://www.mmg-me.com/X3/X3.htm