function rules_condition_regcode_term_compare_form in Registration codes 6.2
Form to select terms to match against
Parameters
array $settings:
array $form:
File
- ./
regcode.rules.inc, line 74 - Rules integration for the regcode module.
Code
function rules_condition_regcode_term_compare_form($settings, &$form) {
$form['settings']['regcode_terms'] = array(
'#type' => 'checkboxes',
'#options' => regcode_get_vocab_terms(),
'#title' => t('Tags'),
'#required' => TRUE,
'#description' => t('Condition evaluates to TRUE if registration code used was tagged with any of the selected terms.'),
'#default_value' => (array) $settings['regcode_terms'],
);
}