Click to See Complete Forum and Search --> : html email including forms


jboudreau
11-19-2003, 10:31 AM
I am currently trying to include a form within an html email. When the user will open his email, there is gonna be a form in it and a submit button. When the user will press submit, I want the "action" method of the form to call a .php file. Is this possible?

I tried to troubleshoot this by making the action method opening a web page, it is not working.

any advices please?

toicontien
11-19-2003, 08:08 PM
In the action attribute, place the absolute URL to the .php file:

action="http://www.somedomain.com/scripts/email.php"

Is that what you already did, or did you use a relative URL like action="../scripts/email.php"?

jboudreau
11-20-2003, 08:08 AM
Seems like submit button in form when used in html email doesn't work. I then used a link (a href) instead, but I can't pass the values of my text field from my html email to my php file. that is the real problem. Cause it seems like html email only works with simple html tag, no javascript..