Display CheckBox In The PDF

In this guide, we will explain how we can display the CheckBox in the PDF instead of yes and no.

  1. Drag and Drop a CheckBox, click the pencil icon and rename it.
image
  1. 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}} -->
  1. Add this code to the PDF source.
image
  1. Click “PDF Settings” and select “Yes” in the “Enable Advanced Templating” option.
image
  1. Save PDF changes and try the form. The result will look like this.

If the value in the form is true:

image

If the value in the form is false:

image

For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂