function webform_conditional_operator_select_greater_than in Webform 7.4
Conditional callback for select comparisons.
1 string reference to 'webform_conditional_operator_select_greater_than'
- _webform_conditional_operator_info in includes/
webform.conditionals.inc - Implements hook_webform_conditional_operator_info().
File
- includes/
webform.conditionals.inc, line 1643 - Form elements and menu callbacks to provide conditional handling in Webform.
Code
function webform_conditional_operator_select_greater_than($input_values, $rule_value, $component) {
return empty($input_values) ? FALSE : webform_compare_select($input_values[0], $rule_value, _webform_select_options($component, TRUE)) > 0;
}