You are here

function conditional_fields_set_required_field in Conditional Fields 6

Same name and namespace in other branches
  1. 6.2 conditional_fields.module \conditional_fields_set_required_field()

Wrapper for conditional_fields_set_required_field_recurse

1 call to conditional_fields_set_required_field()
theme_conditional_fields_form_item in ./conditional_fields.module
Themes the wrappers around conditional fields. Note that if you modify the id and classes of these fields, you have to modify conditional_fields.js accordingly.

File

./conditional_fields.module, line 1084
Content fields and groups visibility based on the values of user defined 'trigger' fields.

Code

function conditional_fields_set_required_field($item) {
  conditional_fields_set_required_field_recurse($item);
  return $item;
}