View Single Post
Old 12-12-2012, 08:01 PM   PM User | #1
ryan1234
New to the CF scene

 
Join Date: Oct 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
ryan1234 is an unknown quantity at this point
Javascript using PHP/SQL

I've got a web page which has a form on it. When the Submit is clicked, it saves all the information to a database (SQL) using PHP.

I've got PHP validation for the email and currently when the email is incorrect it redirects to a different page with the same design but with the text 'Incorrect Email'.

However I want it to redirect to the same current page, but use javascript/jQuery to show 'Incorrect Email'.

Any ideas of how I would do this, if it is possible.

Thanks.

Last edited by ryan1234; 12-12-2012 at 08:08 PM..
ryan1234 is offline   Reply With Quote