Form not submitting or sending to email |
Form not submitting or sending to email |
Aaron J. Clark |
May 1 2016, 06:50 PM
Post
#1
|
Group: Members Posts: 1 Joined: 1-May 16 Member No.: 24,208 |
I am trying to get this form to send via email but nothing happens when you hit submit
Thank you in advance for any and all help! <html> <FORM METHOD="post" ACTION="mailto:myemail@gmail.com"> <fieldset> <center><legend><H3>Applicant Information:</H3></legend><br></center> <center>First Name: <input type="text" name="FirstName" required><br><br> Last Name: <input type="text" name="LastName" required><br><br> Email Address: <input type="email" name="Email" required><br><br> Phone Number: <input type="tel" name="Phone" required><br><br> Date Available to Start: <input type="date" name="Date" required><br><br> Are You 18 or Older? <SELECT NAME="Age" SIZE="1"> <OPTION SELECTED>No <OPTION>Yes</select><br><br> </fieldset> <fieldset> <center><legend><H3>Education History:</H3></legend><br> Name of High School: <input type="text" name="School"><br><br> Did You Graduate? <SELECT NAME="Age" SIZE="1"> <OPTION SELECTED>No <OPTION>Yes</select><br><br> Name of College: <input type="text" name="College"><br><br> Years Attended: <input type="text" name="Years"><br><br> Degrees Completed: <input type="text" name="Degree"><br><br></center> </fieldset> <fieldset> <center><legend><H3>Work History:</H3></legend><br> Company Name: <input type="text" name="Company"><br><br> Dates of Employment:  From <input type="date" name="Date"> To <input type="date" name="Date"><br><br> Position(s) Held: <input type="text" name="Positions"><br><br> City & State: <input type="text" name="Location"><br><br> Phone Number: <input type="text" name="Phone Number"><br><br> Supervisor: <input type="text" name="Supervisor"><br><br> Responsibilities: <TEXTAREA NAME="Responsibilities" ROWS=6 COLS=25> </TEXTAREA><br><br> Starting & Ending Salary <input type="text" name="Salary"><br><br> Reason for Leaving: <input type="text" name="Left Because"><br><br> May we contact for a reference: <SELECT NAME="Contact" SIZE="1"> <OPTION SELECTED>No <OPTION>Yes</select><br><br><br><br> Company Name: <input type="text" name="Company"><br><br> Dates of Employment:  From <input type="date" name="Date"> To <input type="date" name="Date"><br><br> Position(s) Held: <input type="text" name="Positions"><br><br> City & State: <input type="text" name="Location"><br><br> Phone Number: <input type="text" name="Phone Number"><br><br> Supervisor: <input type="text" name="Supervisor"><br><br> Responsibilities: <TEXTAREA NAME="Responsibilities" ROWS=6 COLS=25> </TEXTAREA><br><br> Starting & Ending Salary <input type="text" name="Salary"><br><br> Reason for Leaving: <input type="text" name="Left Because"><br><br> May we contact for a reference: <SELECT NAME="Contact" SIZE="1"> <OPTION SELECTED>No <OPTION>Yes</select><br><br><br><br> Company Name: <input type="text" name="Company"><br><br> Dates of Employment:  From <input type="date" name="Date"> To <input type="date" name="Date"><br><br> Position(s) Held: <input type="text" name="Positions"><br><br> City & State: <input type="text" name="Location"><br><br> Phone Number: <input type="text" name="Phone Number"><br><br> Supervisor: <input type="text" name="Supervisor"><br><br> Responsibilities: <TEXTAREA NAME="Responsibilities" ROWS=6 COLS=25> </TEXTAREA><br><br> Starting & Ending Salary <input type="text" name="Salary"><br><br> Reason for Leaving: <input type="text" name="Left Because"><br><br> May we contact for a reference: <SELECT NAME="Contact" SIZE="1"> <OPTION SELECTED>No <OPTION>Yes</select><br><br></center> </fieldset><br><br><center> <b>Attach Resume Here:</b> <INPUT TYPE="file" NAME="attachedfile" MAXLENGTH=50 ALLOW="text/*" ><br><br><br> By submitting this application I certify that the information contained in this application is correct to the best of my knowledge.<br> I understand that to falsify information is grounds for refusing to hire me, or for discharge should I be hired.<br> I authorize any person, organization or company listed on this application to furnish you any and all information concerning my previous employment, education and qualifications for employment. I also authorize you to request and receive such information.<br> In consideration for my employment, I agree to abide by the rules and regulations of the company, which rules may be changed, withdrawn, added or interpreted at any time, at the company’s sole option and without prior notice to me.<br> I also acknowledge that my employment may be terminated, or any offer or acceptance of employment withdrawn, at any time, with or without cause, and with or without prior notice.<br><br><br><br> <INPUT TYPE="submit" value="Apply Now"> </center> </FORM> </html> |
pandy |
May 1 2016, 08:59 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Do you have an email client installed on the machine you are trying the form on? You may also want to add enctype="text/plain" to the form tag.
You won't be able to attach a file with a mailto form. You need a script on the server to handle the form for that. |
Christian J |
May 2 2016, 06:36 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
To elaborate on pandy's reply, without an email program on the user's own computer or smartphone, ACTION="mailto:" doesn't work.
It's better to submit the form to a server side script, which in turn creates the email. That way it will work for everybody. Many web hosts offer preinstalled such scripts (or at least guides on installation), otherwise there are free scripts on the web. |
Lo-Fi Version | Time is now: 19th April 2024 - 03:08 PM |