Forms PDF – How to Render Checkbox as Checked in HTML Template?
Hello,
I’m currently testing the 25C Forms PDF functionality for an upcoming customer demo and had a question regarding adding a checkbox in the HTML template.
I couldn’t find any examples of checkboxes in the sample templates. I tried using:
<input type="checkbox" {{activity.xa_internal}}>
but this doesn’t seem to work.
From what I understand, the checked attribute needs to be explicitly present in the HTML for the checkbox to appear selected. The integer property xa_internal should return a value of 1 when checked. I’m unsure how to conditionally render the checked attribute in the template based on that value.
Tagged:
0