Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Nested form fields render change

edited May 3 in Support

Hi,
I have created 'nested' type field with two fields inside and both are rendered one under another - each nested field is rendered inside separate

tags.
Is it possible to easily change that to render nested fields next to each other - inside separate tag only?

Comments

  • It sounds like you are wanting to break it out of the default table format. To do that, you can try and pass the following "render_format" to the init configuration parameter:

    $field['my_tested'] = array('type' => 'nested', 'init' => array('render_format' => 'divs'));
    
  • Works great. Thank you :)

Sign In or Register to comment.