Home Forums General Issues trigger validation manually


trigger validation manually

  • 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:

    	<div id=step1>
    		<Fieldgroup1 />
    		<button to next step />
    	<div id=step2>
    		<Fieldgroup2 />
    		<button to next step />
    	<div id=step3>
    		<Fieldgroup3 />
    		<final submit />

    Fieldgroups are created like this:

    	'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.

Viewing 1 post (of 1 total)

The topic ‘trigger validation manually’ is closed to new replies.