Crocoblock / jetformbuilder

80 stars 16 forks source link

Form Page Break inside conditional blocks #378

Closed Ricarditu closed 11 months ago

Ricarditu commented 11 months ago

Hi!

I'm building a multistep form with some conditional blocks in the middle because there are some questions that are shown or not depending on some previous answers.

So I'm using Form Page Breaks to do this but the breaks inside the conditional blocks are not taken into account for the main level. Basically, in this part of the form I have:

If I add breaks before and after the conditional block, like this:

If I only put a break before the conditional block and another in the end of it but inside, after the last question, like this:

Despite the location of the Form Page Break, it should always be taken into account for the structure and layout of the form, otherwise, in conditions like these, it's very difficult to show what is needed.

Please consider implementing this, I think it's an important feature for advanced form layout.

Ricarditu commented 11 months ago

Ok, so I used render states instead of the breaks, as suggested by Victoria Bormotova, and I was able to do what I needed. Thanks!