- Posts: 10244
- Thank you received: 3644
Ask the community, share ideas, and connect with other LimeSurvey users!
$sToken= Yii::app()->request->getParam('token'); $sPassword=Yii::app()->request->getParam('tokenpassword'); if($iSurveyId && $sToken) { $oToken=TokenDynamic::model($iSurveyId)->find('token=:token',array(':token'=> $sToken)); if($sPassword==$oToken->attribute_1) return; // Do nothing, let LS continue else // Shown you own page with input name="tokenpassword" and input name="token" }