Conditional Logic

Show or hide elements in your document based on the data being merged.

There may be cases where you want to optionally include or exclude certain parts of your template in your document. Documint allows you to do this with Conditional Logic.

For example, let's say we were creating a contract template and only wanted to include certain legal language if the contract total was over $15,000. We could accomplish this by adding the condition (when grand_total is greater than or equal to 15000) to the section with the legal language using the Logic Editor.

This condition tells Documint to only display the section element and all of its children in the document being created when the value of grand_total is equal to or greater than $15,000.

Last updated