If someone here made a contact form tutorial with multiple inline validation AND explained how to send it, you’d be the first on the internet I reckon.
Someone save me from hours of endless googling please!
I have a form: NAME, EMAIL, PHONE NUMBER, and COMMENTS.
If any fields are left blank, error text appears underneath in red explaining a field was left blank. I don’t want java popups or a new php page opening telling the user to go back a page and start again.
I’ve followed the tutorial here:
http://www.interspire.com/content/articles/23/1/Using-Inline-Form-Validation
and edited the javascript to display multiple error messages rather than just one at a time. This does exactly the effect I’m after.
But I’ve no idea how to send the data in the form!
I’d also rather not do it in javascript at all and use php only. Hell knows how I’d do that since, again, I can’t find a script that does it that I can edit should I need to.
Any help please!
Thanks.