aspose file tools*
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
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: 42292
    
  64
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
 
jQuery in Action, 2nd edition
 
subject: HTML & Javascript forms & forms validation