DJKAL Posted January 29, 2007 Share Posted January 29, 2007 Hi, i am doing a new website and i need help on creating a form. i have never been able to do them right.i want to be able to type in everything, and have fields which are compulsary to fill in, others are not. and i want it to be sent straight to the email account, whenever i have done them before when i click "submit" it just opens a new email in outlook (or thunderbird now) i dont want this, i just want it sent straight from the website.can anyone help me with information and examples on how to create such a form?thanksCalum. Link to comment Share on other sites More sharing options...
pulpfiction Posted January 29, 2007 Share Posted January 29, 2007 Use javascript and check if the specific fields are empty,<form name="frm_name" onSubmit="JS_Function">http://javascript.internet.com/forms/required-fields.htmlTo email the data in the form, you can use some server side scripting like ASP, PHP....http://www.w3schools.com/asp/asp_send_email.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now