Flatten form in AWS Lambda removes checkbox ticks #1664
Unanswered
Luc-van-Rooyen
asked this question in
Q&A
Replies: 1 comment
-
@Hopding If you have any advice it would be much appreciated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all
I have a use case where by I read in a PDF from S3, populate the form values and check the checkboxes and then re upload the pdf to S3. The function that does this runs on a AWS Lambda running NodeJS. When I download the document, the checkboxes have no ticks but when I run this code on local from my Mac it works as expected. Any guidance would be appreciated.
fields.forEach(field => { if(field.constructor.name === 'PDFCheckBox'){ const checkbox = form.getCheckBox(field.getName()); checkbox.check(); checkbox.enableReadOnly(); }
Beta Was this translation helpful? Give feedback.
All reactions