Hey there 🙂
I have a frontend form out of 3 field_groups split up in 3 steps.
Now I want to trigger validation (only, without submit) manually when a step is finished to get to the next step.
The form is some kind of reservation form with this layout:
<form>
<div id=step1>
<Fieldgroup1 />
<button to next step />
</div>
<div id=step2>
<Fieldgroup2 />
<button to next step />
</div>
<div id=step3>
<Fieldgroup3 />
<final submit />
</div>
</form>
Fieldgroups are created like this:
acf_form(array(
'post_id' => 168,
'post_title' => false,
'field_groups' => array('210'),
'form' => false
));
I just don’t know how to trigger the validation (and not yet how to submit all field-groups at once.