• Resolved Jimmy

    (@jayem82)


    As the topic title says, I’m building a complex form and trying to make the customer fill in some fieldsets “step-by-step” style but without any page-breaks. We’d rather hide next fieldsets until previous fieldset is completely filled.

    Fieldset #1 <%fieldname8%> contains the following:

    <%fieldname09%> – Dropdown
    Has several options, where first option has value 0, the rest is number based values.

    <%fieldname10%> – Dropdown
    Has several options, where first option has value 0, the rest is text based values.

    <%fieldname11%> – Dropdown
    Has several options, where first option has value 0, the rest is text based values.

    <%fieldname29%> – Calculated Field
    Hidden from public page, where dependencies are supposed to hide the next coming fieldset (fieldname12) until fieldnames 09, 10, 11 are NOT set to 0. But I can’t figure out the equation.

    The first option in the dropdowns with value 0 is just a “Choose option…” option, and can be any value we want.

    PS. I am most certainly going to buy the pro version if we can complete the form, we’re just making a test form at the moment.

    https://www.ads-software.com/plugins/calculated-fields-form/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    If you want create dependencies with multiple fields, the correct is to use calculated fields as auxiliary fields. Please, follows the steps below:

    1. Insert a Calculated Field in the form. As the new field is not relevant in the form’s interface, tick the checkbox: “Hide Field From Public Page”.

    2. Assigns to the “Calculated Field” the equation:

    IF( AND(fieldname9,fieldname10,fieldname11,fieldname29),1,0)

    3. Finally, create a dependency rule in the calculated field:

    if the value is “equal to” “1”, show the field: “fieldname12”

    and that’s all.

    Thank you very much for using our plugin.

    Thread Starter Jimmy

    (@jayem82)

    Brilliant, thank you guys!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide a fieldset until all fields in another fieldset is choosen’ is closed to new replies.