How To: Show Checkboxes on Forms
Display boolean fields as checkbox or radio images in PDF templates.
Checkbox attributes let you render form-style selections instead of raw true and false values.
Problem
You want to display actual checkbox images instead of true/false text.
Solution
Standard Checkbox:
{{!Opportunity.Payment_by_Check__c checkbox="true"}} Check
{{!Opportunity.Payment_by_Card__c checkbox="true"}} Credit Card
{{!Opportunity.Payment_by_Wire__c checkbox="true"}} Wire TransferBlack Style Checkbox:
{{!Opportunity.Terms_Accepted__c checkbox="black"}} I accept the terms and conditionsRadio Buttons:
{{!Opportunity.Shipping_Method_Ground__c checkbox="radio"}} Ground Shipping
{{!Opportunity.Shipping_Method_Express__c checkbox="radio"}} Express ShippingCheckbox Styles
Style
Description
Use Case
checkbox="true"
Dotted border, black checkmark
General forms
checkbox="black"
Solid border, filled background
Formal documents
checkbox="radio"
Radio button circle
Single-choice UI
Customizing Checkbox Appearance
Add this to your template source:
Then use checkboxes normally. They inherit your custom styling.
Tips
This works in PDF only.
It displays the current value of the boolean field.
Checked fields show ☑. Unchecked fields show ☐.
Last updated
Was this helpful?

