Stuart Wright
Well-known member
So it does! Thanks (and sorry )
What is the error?
The server responded with an error. The error message is in the JavaScript console.
I'll checkThat's not the error. It says there will be an error in the console.
There's also likely an error in your server error log.
$userCriteria = $template->getParam('userCriteria');
$checked = $userCriteria['has_x_currency'] ? 'checked' : '';
$contents .= '<li>
<label>
<input type="checkbox" id="ucrit_adcredit" class="Disabler" value="has_x_currency" name="user_criteria[has_x_currency][rule]" ' . $checked .'>
User has at least X Yuan:
</label>
<div id="ucrit_adcredit_Disabler" class="criteriaQualifier disabled">
<input type="text" id="ctrl_user_criteriaadcredit" class="textCtrl number SpinBox disabled" min="0" step="7" size="5" value="0" name="user_criteria[has_x_currency][data][has_x_currency]" autocomplete="off" disabled="">
</div>
</li>';
case 'has_x_currency':
if ($user['adcredit'] > $data['adcredit'])
{
$returnValue = true;
}
break;
We use essential cookies to make this site work, and optional cookies to enhance your experience.