PDA

View Full Version : GoDaddy webformmailer.asp


brijar
07-11-2009, 03:07 AM
I saw one other post on here related to this but it does not work. I see no issues with the code but for some reason I do not receive the email when sent. Below is a link to the for as well as the code. I do not receive any error it looks like everything goes through ok but I never get the email.

Any help in resolving the issue is greatly appreciated.

http://www.snocodist.com/thankyou.html

<form action="_gdForm/webformmailer.asp" method="POST">
<input type="hidden" name="subject" value="Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
How did you hear about us? <br />
<select name="How'd you hear about us?" size="1" id="How'd you hear about us?">
<option>Please Select</option>
<option>Google</option>
<option>Yahoo</option>
<option>Excite</option>
<option>Friend/Family</option>
<option>*Other</option>
</select>
<br />
<br />
If you selected other, please state how you heard about us.<br />
<label>
<textarea name="Other Field" cols="50" id="Other Field"></textarea>
</label>
<br />
<br />
What State are you ordering from?<br />
<select name="What State are you ordering from?" size="1" id="What State are you ordering from?">
<option>Select State</option>
<option>Alabama</option>
<option>Alaska</option>
<option>Arizona</option>
<option>Arkansas</option>
<option>California</option>
<option>Colorado</option>
<option>Connecticut</option>
<option>Delaware</option>
<option>D.C. Metro Area</option>
<option>Florida</option>
<option>Georgia</option>
<option>Hawaii </option>
<option>Idaho</option>
<option>Illinois</option>
<option>Indiana</option>
<option>Iowa</option>
<option>Kansas</option>
<option>Kentucky</option>
<option>Louisiana</option>
<option>Maine</option>
<option>Maryland</option>
<option>Massachusetts</option>
<option>Michigan</option>
<option>Minnesota</option>
<option>Mississippi</option>
<option>Missouri</option>
<option>Montana</option>
<option>Nebraska</option>
<option>Nevada</option>
<option>New Hampshire</option>
<option>New Jersey</option>
<option>New Mexico</option>
<option>New York</option>
<option>North Carolina</option>
<option>North Dakota</option>
<option>Ohio</option>
<option>Oklahoma</option>
<option>Oregon</option>
<option>Pennsylvania</option>
<option>Rhode Island</option>
<option>South Carolina</option>
<option>South Dakota</option>
<option>Tennessee</option>
<option>Texas</option>
<option>Utah</option>
<option>Vermont</option>
<option>Virginia</option>
<option>Washington State</option>
<option>West Virginia</option>
<option>Wisconsin</option>
<option>Wyoming</option>
</select>
<br />
<br />
What other
products would you be interested in seeing on our site?<br />
<label>
<textarea name="What other products would you like?" cols="50" rows="3" id="What other products would you like?"></textarea>
</label>
</p>
<p> How do you
feel we can serve you better?<br />
<label>
<textarea name="How do you feel we can server you better?" cols="50" rows="3" id="How do you feel we can server you better?"></textarea>
</label>
<br />
<br />
</label>
<input name="submit" type="submit" onclick="MM_goToURL('parent','http://www.snocodist.com (http://www.snocodist.com/)');return document.MM_returnValue" value="Submit"/>
<label>
<input type="reset" name="Clear Form" id="Clear Form" value="Reset Form" />
</label>
<input type="hidden" name="form_order" value="default"/> <input type="hidden" name="form_interval" value="default"/> <input type="hidden" name="form_format" value="html"/>
</p>
<p>&nbsp;</p>
</form>

brijar
07-13-2009, 06:56 PM
Just wanted to close this thread out. I figured out the issue and all is good. I had to remove the redirect from the "submit" button and change the redirect code in the beginning to the proper page I wanted to go to after the submit button was hit. The form now works properly and I actually get the emails.

Changes to code were

<form action="_gdForm/webformmailer.asp" method="POST">
<input type="hidden" name="subject" value="Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
Changed the thankyou.html to index.html

<input name="submit" type="submit" onclick="MM_goToURL('parent','http://www.snocodist.com');return document.MM_returnValue" value="Submit"/>
Removed MM_goToURL link

edbr
07-14-2009, 03:01 AM
thanks for the explanation, hopefully it will help someone in the future