Asp contact form with javascript validation

Posted by Rob CornishPostMarch 24, 2008Date

Firstly setup the html file with your form, set the name and id of this as "enquiryform". The form action needs to point to emailprocess.asp. Edit the values to suit the form.

To validate the form, use the onsubmit syntax:

<form onsubmit="return checkform(this);">

This calls in the validate.js javascript file, edit the fields within the javascript to check for a value.

Once submitted the emailprocess.asp takes all the data and sends it to the email provided in the .asp file.


No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Tags
Flickr
SelfDSC_0207DSC_0206DSC_0205
© 2008 dlnqnt - Admin - Login