Email Sends partial Form, When the form is subited it sends first letterr entered in form |
Email Sends partial Form, When the form is subited it sends first letterr entered in form |
Milwaukee |
Feb 7 2022, 12:11 PM
Post
#1
|
Group: Members Posts: 1 Joined: 7-February 22 Member No.: 28,248 |
I built this add on to my site many years ago. Now when a customer fills out the form it goes to the Email and sends the first letter he types. I don't remember much of I knew when I built it. I had covid last year and spent 4 months in a nursing home. Had to learn to do normal things again and now am in a wheelchair. I am working on this in Bluefish. This will go in stripingthetown.com
The top line is: <a href="mailto:foo@bar.com?subject=Blueffish%20Quote"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <h2>Please fill out this form for a free quote!</h2><br> #000000#000000 <input type="hidden" name="form_tools_form_id" value="1" /> Full Name<br> <input type="text" name="realname" size="40" maxlength="40" /><br> Phone<br> <input type="text" name="Phone" size="40" maxlength="40" /><br> Email<br> <input type="text" name="email" size="40" maxlength="40" /><br> Job Name<br> <input type="text" name="JobName" size="40" maxlength="40" /><br> Street<br> <input type="text" name="StreetAddress" size="40" maxlength="40" /><br> City<br> <input type="text" name="City" size="40" maxlength="40" /> <br> State<br> <input type="text" name="State" size="40" maxlength="40" /> <br> Zip<br> <input type="text" name="Zip" size="40" maxlength="40" /><br> <input type="checkbox" name="AsphaltSealCoating"/>Asphalt Seal Coating<br> <input type="checkbox" name="AsphaltStriping" /> Asphalt Striping<br> <input type="checkbox" name="AsphaltRepair" /> Asphalt Repair<br> <input type="checkbox" name="AsphaltCrackRepair"/>Asphalt Crack Repair<br> <input type="checkbox" name="PotHoleRepair" /> Pot Hole Repair<br> </h2> <p> <input type="submit"value=>Submit</form></p> <a href="http://stripingthetown.com">Home</a> </h2> </div> </body> </html> </ This post has been edited by Christian J: Feb 7 2022, 01:33 PM |
Christian J |
Feb 7 2022, 01:31 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,661 Joined: 10-August 06 Member No.: 7 |
Nothing is allowed in the HTML document before this part:
CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> This email link: CODE <a href="mailto:foo@bar.com?subject=Blueffish%20Quote"> needs to be in the BODY section of the page. However, note that email links will not work at all for someone using webmail, since the user needs to have an email program install on his PC or mobile phone. (By the way, I edited your email address in our posts to reduce the amount of exposure to spambots.) As for the contact form, it lacks the <form> start tag (along with its ACTION attribute). Also the Submit button is incorrect: CODE <input type="submit"value=>Submit</form> ...it should probably look like this: CODE <input type="submit" value="Submit"> </form> However, none of this explains the error you described ("when a customer fills out the form it goes to the Email and sends the first letter he types"). Is there more code on the real page (such as javascript)? |
Lo-Fi Version | Time is now: 27th April 2024 - 10:23 AM |