I have a simple form that I want to send me an email when the button is clicked. I have two questions,
1. How can I make the fields Name and Email mandatory?
2. It does not send an email to me when used with my smartphone, which is an Android.
<form action="MAILTO:firstname.lastname@example.org?subject=LC"> <br> <input type="text" name="name" value="Your Name"> <br> <br> <input type="text" name="mail" value="Your Best Email"><br> <br><br> <input type="submit" value="Submit"> </form>
Also, you can see I have a value for each field, however, I'd rather have the fields empty and have those values just above the fields.
One last question, does the value for the submit button have to match the value that's on the button? In the code it says "Submit" but on the form itself it says Give Me Information.
Any and all help will be very much appreciated. :)
PS, This does work on my computer but for some reason the body in the email contains a long string value that I do not want there. Any idea about that?