Printing to PDF | Checklist field | checkboxTag

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beelineradiocars
    Junior Member
    • Sep 2022
    • 2

    Printing to PDF | Checklist field | checkboxTag

    Hi, my PDF template contains this code:
    {{checkboxTag normalWorkingDays option='Monday' color='black'}} Monday
    {{checkboxTag normalWorkingDays option='Tuesday' color='black'}} Tuesday
    {{checkboxTag normalWorkingDays option='Wednesday' color='black'}} Wednesday
    {{checkboxTag normalWorkingDays option='Thursday' color='black'}} Thursday
    {{checkboxTag normalWorkingDays option='Friday' color='black'}} Friday
    {{checkboxTag normalWorkingDays option='Saturday' color='black'}} Alternate Saturdays
    {{checkboxTag normalWorkingDays option='Sunday' color='black'}} Sunday​

    However, when I print to PDF, the checked values are converting to symbols (see attached).

    In the attached example, I have ticked Monday, Wednesday, Friday, Sunday.

    Does anyone have any idea why this is happening?
  • rabii
    Active Community Member
    • Jun 2016
    • 1250

    #2
    Try this instead:

    Code:
    Monday: {{checkboxTag normalWorkingDays option='Monday' color='black'}}
    Tuesday: {{checkboxTag normalWorkingDays option='Tuesday' color='black'}}
    Wednesday: {{checkboxTag normalWorkingDays option='Wednesday' color='black'}}
    Thursday: {{checkboxTag normalWorkingDays option='Thursday' color='black'}}
    Friday: {{checkboxTag normalWorkingDays option='Friday' color='black'}}
    Alternate Saturdays: {{checkboxTag normalWorkingDays option='Saturday' color='black'}}
    Sunday: {{checkboxTag normalWorkingDays option='Sunday' color='black'}}​​
    Also make sure you are using the correct font as this could be produced due to selected font.
    Rabii
    Web Dev

    Comment

    Working...