This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes HTML & Javascript forms & forms validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "HTML & Javascript forms & forms validation" Watch "HTML & Javascript forms & forms validation" New topic
Author

HTML & Javascript forms & forms validation

Angela D'souza
Ranch Hand

Joined: Jan 16, 2002
Posts: 469
All,
I want to create user registration form with fields like Name, Address, Telephone number, Email, How did you hear about us. When user submit forms, data should be sent to my email address. So i can get all form details in my email. I also want Email and Telephone mandatory fields.


Is there any open source javascript & HTML forms code for all above?

Thank you,
Angela
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
You are aware that you will need server-side code to handle this? Just asking because you're posting to the HTML/JS forum.
[ September 07, 2005: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You could use a mailto in the action, but this requires that they have an email client on their machine such as Outlook. It opens it up to send it out. If they do not have one installed then they can not use the form. You would need a server side language to do this properly.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML & Javascript forms & forms validation
 
Similar Threads
What is good practice for FORM VALIDATION ?
design advice required
How work this reusable form validation script
Forms problem
ActionForms