Skip to content

Jobs and Conditional Logic

Conditional logic builds on the sections functionality and allows you to expose or hide sections based on questions asked in other custom fields.

You do not need to do anything special as the conditional logic will be inherited from the template.

You can supply field values that will drive conditional logic. For example, you could supply a yes value to a question that then exposes another set of custom fields. This is done the same way as setting the value in a regular custom field.

    <custom_fields type="array">
        <custom_field>
            <name>Is there a dog on site?</name>
            <value>yes</value>
        </custom_field>
    </custom_fields>