How to Fill Checkbox Values in an Adobe LiveCycle XFA PDF
Question details
The user needs to populate Yes and No fields in an Adobe LiveCycle XFA PDF.

- Product
- Adobe LiveCycle Designer XFA PDF and PDFtk
- Device & OS
- not provided
- Scenario
- The user is attempting to fill a premature-end question in an XFA form using PDFtk.
- Observed behavior
- Values reported as 1 and 2 do not produce the expected checkbox selections when entered.
Confirm that the PDF is an XFA form and check whether your PDF tool supports filling XFA, not just standard AcroForm fields. If available, have the original LiveCycle Designer form and its data-binding details ready.
Use an XFA-compatible tool and verify the field values
Use this approach when PDFtk does not populate the Yes and No selections in a LiveCycle form.
Tools designed for standard AcroForms may not support dynamic XFA forms. A value reported by a field-inspection tool is not necessarily the value the XFA form expects for its data binding.
Review the documentation for your PDF filling tool and confirm that it supports the type of XFA form you have before using it to populate fields.
If you have the source form, open it in Adobe LiveCycle Designer and inspect the Yes and No controls and their data bindings in the Object palette. Identify the values expected by the form rather than assuming 1 and 2 are valid.
Open the PDF in an XFA-compatible application or use an XFA-compatible data-filling workflow. Apply the verified values, then open the resulting PDF and check that the intended Yes or No option is selected.
If you cannot access the form design or determine the bindings, ask the form owner for the expected values or post the question in the Adobe Experience Manager community.

Fill the options manually in an XFA-compatible viewer
Use this option when you only need to complete the form interactively rather than populate it programmatically.
Work with Office documents and standard PDFs in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface and support for common Office formats, making it easy to move everyday documents into one workspace. It does not resolve PDFtk's XFA limitations; use an XFA-compatible tool for the LiveCycle form.

Frequently Asked Questions
Why do values 1 and 2 not select the XFA options?
The form may expect different bound values, or the filling tool may not support XFA. Inspect the controls and bindings in LiveCycle Designer's Object palette and verify the tool's XFA support.
Can PDFtk fill an Adobe LiveCycle XFA form?
PDFtk may not correctly fill dynamic XFA forms. Check its documentation for the specific XFA support you need; support for ordinary AcroForms does not establish XFA support.
Can I complete the form without knowing its field values?
For manual completion, open it in an XFA-compatible viewer, click the required Yes or No option, and save the completed PDF. Reopen it to confirm the selection was retained.
Where can I get help with an XFA form's bindings?
Ask the form owner for the source form or expected data values. You can also post a question in the Adobe Experience Manager community with details of the form and the filling workflow.




