You can set checkbox values to either checked or unchecked in your reports dynamically by taking the following steps:
Add a checkbox content control to your template at a place where you want it to appear in a result document.
By editing content control properties, add a check tag to the title of the checkbox content control using the following syntax.
<<check[conditional_expression]>>
The code will look like following snippet:
Here, conditional_expression defines a condition upon which the value of the checkbox content control is to be set to checked (or unchecked, if the condition is not met). The conditional expression must return a Boolean value.
While building a report, a conditional expression declared within a check tag is evaluated and the value of its containing checkbox content control is set accordingly. The check tag itself is removed then.
Warning
Dynamic checkbox value setting is available for Word Processing documents only.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.