In this guide, we will explain how we can display the CheckBox in the PDF instead of yes and no.
- Drag and Drop a CheckBox, click the pencil icon and rename it.
- We will make use of {{compare}} statement to achieve this.
<!-- {{#compare 8a1b-90d8-8089 true operator='=='}} -->
test checkbox<input checked="checked" type="checkbox" />
<!-- {{/compare}} -->
<!-- {{#compare 8a1b-90d8-8089 false operator='=='}} -->
test checkbox<input type="checkbox" />
<!-- {{/compare}} -->
- Add this code to the PDF source.
- Click “PDF Settings” and select “Yes” in the “Enable Advanced Templating” option.
- Save PDF changes and try the form. The result will look like this.
If the value in the form is true:
If the value in the form is false:
For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂