I followed the tutorial on a new Joomla Registration page - works well. But have a question about form errors.
1. I have a password check and email check - they work:
But if one of these is wrong you get your error message (as you should) but the form completely resets itself and you have to fill everything back in. Is there a way to not have this happen? That is a bit of a pain for my users to have to redo everything!
Thanks.
1. I have a password check and email check - they work:
<?php
global $mainframe;
if ( JRequest::getVar('password') != JRequest::getVar('passwordconfirm') )
return 'Sorry, your passwords do not match, please try again!';
if ( JRequest::getVar('email_address') != JRequest::getVar('email_address2') )
return 'Sorry, your email verification does not match, please try again!';
?>
But if one of these is wrong you get your error message (as you should) but the form completely resets itself and you have to fill everything back in. Is there a way to not have this happen? That is a bit of a pain for my users to have to redo everything!
Thanks.