Public Registration Validation Error Message Not coming.

More
5 years 3 weeks ago #87152 by Nidhi01
Nidhi01 created the topic: Public Registration Validation Error Message Not coming.
$query = "SELECT email FROM {{tokens_$surveyid}}\n"
. "WHERE email = '".sanitize_email(Yii::app()->request->getPost('register_email'))."'";
//$result = dbExecuteAssoc($query) or show_error("Unable to execute this query : \n <br/>".$query."<br />"); //Checked)
$result = dbExecuteAssoc($query) or safe_die ($query."".$connect->ErrorMsg());
if (($result->count()) > 0)
{
$register_errormsg=$clang->gT("The email you used has already been registered.");

Even though above code is lying with the RegisterController.php Error Message is not appearing on the screen

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!