login
Posted: Mon Apr 11, 2011 10:56 am
Hi.
I am implementing modal pop up login system.
Modal pop up is working absolutely fine. I have got a modal pop up with a form and within that form there is option for user to enter
username,
password
and then button sign in.
When user clicks sign in(submit button) - the page goes to xyd.php and perform set of funtion to see if the user entered correct username or password.
Now my problem is - if the username or password is incorrect - i want the error message to be displayed on the modal popup and not on the xyz.php page. What would be best way to achieve this ??
Thanks
I am implementing modal pop up login system.
Modal pop up is working absolutely fine. I have got a modal pop up with a form and within that form there is option for user to enter
username,
password
and then button sign in.
When user clicks sign in(submit button) - the page goes to xyd.php and perform set of funtion to see if the user entered correct username or password.
Now my problem is - if the username or password is incorrect - i want the error message to be displayed on the modal popup and not on the xyz.php page. What would be best way to achieve this ??
Thanks