You are here

function conditional_fields_add_more_post_render in Conditional Fields 6.2

post_render function to handle controlled fields after "add more" ahah request

1 string reference to 'conditional_fields_add_more_post_render'
conditional_fields_form_alter in ./conditional_fields.module
Implementation of hook_form_alter().

File

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

Code

function conditional_fields_add_more_post_render($content, $item) {
  return theme('conditional_fields_wrapper', $content, 'conditional-' . conditional_fields_form_clean_id($item['#field_name']), array(
    'conditional-field',
    ' controlled-field',
  ));
}