function conditional_fields_example_fancy_edit_behavior in Conditional Fields 7.3
Example edit behavior callback.
Parameters
$form: The form that contains fields with dependencies.
$form_state: The form state of the form.
$dependent: The name of the dependent field.
$dependencis: The dependencies relevant to this dependent.
File
- ./
conditional_fields.api.php, line 170 - Hooks provided by Conditional Fields.
Code
function conditional_fields_example_fancy_edit_behavior(&$form, &$form_state, $dependent, $dependencies) {
// Do some fancy stuff...
}