Logic on Docs

Logic on Docs

Logic can be applied to Docs so it can show and hide elements on your templates.

If your forms have logic on them, you can display this on your Docs so the logic is applied to the elements on your templates and can hide or show depending on the formula of the logic.

How to apply the logic

When you download a template of your form that has logic on, it will be displayed all the markers at the bottom of the template

Logic

If you would like it to hide or show the elements depending on the answer you can move the markers ${logic-??????} and ${/logic-??????} either side of the elements.

For example:

On this form, if the radio list named ‘Test’ equals ‘Yes’ then ‘Surname’ will be shown.

Form

radio list-1

Logic

logic yes

To achieve this on the template. You’ll need to find the logic at the bottom of the page which applies to this logic.

Logic2

Once you find the logic formula markers, you’ll need to move them either side of the ‘Surname’ marker

logic applied

Now when you upload the template into the Array, the download will now apply the logic to that element.

If ‘Yes’

if yes on template

If ‘No’

if no on template-1
    • Related Articles

    • Docs (Essential Account)

      Docs allows users to customize the output of their submitted forms Docs allows users to customize the output of their submitted forms by downloading and upload a word document template. In this article, we’ll be showing you: Where to find Docs ...
    • Docs (Pro Account)

      Docs allows users to customize the output of their submitted forms Docs allows users to customize the output of their submitted forms by downloading and upload a word document template. In this article, we’ll be showing you: Where to find Docs How to ...
    • Subforms on Docs

      Any subform on your forms can be easily displayed on a Docs output. A subform submitted within your forms can be displayed on your Docs templates so you can download them your way. In this article we’ll be showing you - How to find and display ...
    • Images on Docs

      Any images on your forms can be easily displayed on a Docs output. Images submitted within your forms can be displayed on your Docs templates so you can download them your way. In this article we’ll be showing you - How to find and display images on ...
    • Tables on Docs

      Tables can be easily displayed and customized on your templates in Docs If your forms have tables on them, you can display them on a template with Docs and customize the table to the layout you would prefer. In this article we'll showing you How to ...