Re: creating custom forms
It's not written correctly. For that form to work, you'd need some sort of script to process the entries and email them.
Haven't done a form in a long time, but I think it would need to start with:
<FORM METHOD=POST ENCTYPE="text/plain" ACTION="mailto etc.">
You can get a lot more info about HTML forms at w3schools.com.
I use a product called Machform.
Re: creating custom forms
Quote:
Originally Posted by
stevesh
It's not written correctly. For that form to work, you'd need some sort of script to process the entries and email them.
Haven't done a form in a long time, but I think it would need to start with:
<FORM METHOD=POST ENCTYPE="text/plain" ACTION="mailto etc.">
You can get a lot more info about HTML forms at w3schools.com.
I use a product called Machform.
I got the basics of HTML coding from web-source, as I have never coded HTML before this.
If you can provide any more information I would be extremely grateful for your time and assistance.
I went to w3schools.com and I would like to know if this is the correct information I am looking for:
http://www.w3schools.com/html/tryit....html_form_mail
Re: creating custom forms
Okay this is what I now have:
<form action="MAILTO:[email protected]" method="post" enctype="text/plain">
Name:<br />
<input type="text" name="name" value="your name" /><br />
Your Phone Number (area code included)<br/>
<input type="text" name="phone" value="your phone" /><br />
E-mail:<br />
<input type="text" name="mail" value="your email" /><br />
Order or invoice number:<br />
<input type="text" name="order" value="order number" size="50" />
<br /><br />
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>
But when the mailer opens up it states that it is a form mail, but the data fields still are not importing, ie; name, phone, etc...
Re: creating custom forms
Copying your code (and changing the mailto address) to an EZ page and into the shipping info page works for me in both cases.
Re: creating custom forms
Okay now you lost me, have no easy pages, ( am clueless as to how to do them and what they do). Would you kindly walk me through it?
Re: creating custom forms
https://www.zen-cart.com/tutorials/i...hp?article=117
But you don't need to bother with them if you want the form in the shipping info define page.
I copied your code from post #4 into the shipping info define page (as you did), changed the mailto address to my address and it worked fine - it inserted the information from the fields into the email and sent them on.
Re: creating custom forms
Quote:
Originally Posted by
stevesh
https://www.zen-cart.com/tutorials/i...hp?article=117
But you don't need to bother with them if you want the form in the shipping info define page.
I copied your code from post #4 into the shipping info define page (as you did), changed the mailto address to my address and it worked fine - it inserted the information from the fields into the email and sent them on.
When I do it, it open my mailer system, my system is the email system that is associated with my domain. When I hit the submit button I get this 404 error:
The requested URL /return request.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at store.bbiclan.com Port 80
Originally it was looking for a file and said the file did not exist. So I altered the code as such:
<form name="input" action="return request.html" method="get">
<form action="MAILTO:[email protected]" method="post" enctype="text/plain">
Name:<br />
<input type="text" name="name" value="your name" /><br />
Your Phone Number (area code included)<br/>
<input type="text" name="phone" value="your phone" /><br />
E-mail:<br />
<input type="text" name="mail" value="your email" /><br />
Order or invoice number:<br />
<input type="text" name="order" value="order number" size="50" />
<br /><br />
<input type="submit" value="Send">
<input type="reset" value="Reset">
</form>