Hello,
I use field group in a form for creating a multi page form.
I need to create a button

 $form['buttons']['another_button'] = array(
            '#type'   => 'submit',
            '#value'  => 'Classer les valeurs',
            '#submit' => array('jquery_form_submit'),
        );

and need to put it in a specific group page, how can i do that?

Comments

nils.destoop’s picture

You can add it to the group this way:
$form['#group_children']['another_button'] = 'machine name of your group';

zorax’s picture

thanks !

sime’s picture

Status: Active » Fixed

Workaround supplied at #1

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.