I am trying to change my ways and wonder if someone could help me find my way... LOL
Honestly. I've always used forms in my scripts that a visitor had to submit, and it would reload the page and check the input and display any errors, etc...
What I would like is to be able to have a form simple first/ last/ phone/ email and submit button...
But I would like for the input to be validated as it is entered to ensure that they fill in all 4 fields, and that the phone number format and the email format are valid before they can even click on the submit button.
When they click the submit button, I need to redirect them to a different website, as well as record the info in a DB table, and send an email to the owner of the website that they are visiting.
I'm sure that is a way to accomplish this, but don't know where to start.
If there is a script plugin that I can just include into my php script or something along those lines it would be even better...
Thanks in advance for your feedback.