Results 1 to 3 of 3
Related
-
Please Help Me - CGI Mail Form Forum: CGI Perl Forum
Replies: 1 -
Help, form mail Forum: PHP Forum
Replies: 0 -
PHP Form Mail Problem Forum: PHP Forum
Replies: 30 -
mail form birthdate Forum: PHP Forum
Replies: 1 -
E-mail to a friend Form Forum: HTML Forum
Replies: 5
-
03-21-2003, 12:27 AM #1
E Mail Form (with only Java and html)
I have the page all set up using a lot of help from those around me and various sources on line, but now I am needing to make it so the forms are REQUIRED. So that some one who attempts to submit the form (via email) is hit with a prompt that tells them they need to complete the remainder before proceeding.
I have to accomplish this with only Java, or HTML. I have been pulling my hair out trying to make this happen, and was wondering if anyone with a greater skill set than I would be able to lend me a hand?
Thanks much
-
03-21-2003, 03:28 AM #2
Hi. Welcome to the forums.
Heres a simple example of validating -
Code:<script language="JavaScript"> function validate(obj) { if (obj.email.value=='') { alert('You missed out your email address'); return false; } return true; } </script> <form method="post" onsubmit="return validate(this)"> <input type="text" name="email"> <input type="submit"> </form>
If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
03-23-2003, 05:59 PM #3
Wow that was a speedy response, thanks a lot for the help. Hopefully I will figure out how to implement this change. I am just begining down the road, but what a blast it has been thus far.
Thanks again I am off to see if I can do this without messing up the form
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum