To populate check mark or X in checkbox field in PDF

Certified Associate Developer

Hi,

I have a form which has the checkboxes.  I have a screen to capture the inputs of the form from user where I am using multiple checkbox field to capture an answer.  Then I need to generate the PDF of that form.  I am facing the challenge to fill the tick mark or X in the box in the checkbox field in PDF.  How can I accomplish this? Any help?

Thanks,

Brinda Sateesh

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    In the most recent PDF i built, when using the "Fill PDF" smart service (which i recommend since it allows you to pass in an expression to contain the values, instead of filling them out one-by-one in the clunky older node setup), after some experimentation I discovered that the checkboxes only worked when I passed values of "Yes" and "Off".  I don't remember whether the "unchecked" condition required "Off" or just anything other than "Yes" to be unchecked, but the "filled" condition definitely required a text value of "Yes".  Note, though, that this might depend on the particular configuration of the particular checkboxes in your PDF template.

Reply
  • 0
    Certified Lead Developer

    In the most recent PDF i built, when using the "Fill PDF" smart service (which i recommend since it allows you to pass in an expression to contain the values, instead of filling them out one-by-one in the clunky older node setup), after some experimentation I discovered that the checkboxes only worked when I passed values of "Yes" and "Off".  I don't remember whether the "unchecked" condition required "Off" or just anything other than "Yes" to be unchecked, but the "filled" condition definitely required a text value of "Yes".  Note, though, that this might depend on the particular configuration of the particular checkboxes in your PDF template.

Children
No Data