Skip to main content
Participating Frequently
November 10, 2024
Question

A checkbox field populates correctly on single-page form but not on multi-page form

  • November 10, 2024
  • 3 replies
  • 655 views

A form with two check boxes populate correctly when the form is a single page, but not when the form has multiple pages. The check boxes represent "Home Office" or "Other Location" and should be an "OR" condition without using radio buttons. Most of the forms are a single page, so the field ids never increment. Multi-page forms show home office#0 and other location#0 on the first page, and then increment to home office#1 and other location#1 on the second page. When the same data source is used, the single page shows one or the other selected, while the multiple page shows the check box selected for both options, across pages.

This topic has been closed for replies.

3 replies

Participating Frequently
November 18, 2024

It looks like the Export Value you mentioned was the cause. Clearing the field is showing expected results.

Bernd Alheit
Community Expert
Community Expert
November 11, 2024

What do you mean with "data source" ?

Participating Frequently
November 11, 2024

There is code that is pulling data from a database to populate fields in the form. An example use would be invoicing. Someone orders parts online and then you print the invoice include in the shipment. No one is physically filling in the form; a field in the database is mapped to a field on the form and the output (like shipment 123 for customer XYZ) is populated on the form.

Bernd Alheit
Community Expert
Community Expert
November 11, 2024

May be that this is a issue of the code.

try67
Community Expert
Community Expert
November 10, 2024

Make sure that the fields have a unique export value. Check-boxes with the same name and export value are selected in unison automatically.

Participating Frequently
November 11, 2024

Thank you for your response, but I don't have enough context to understand. I'll clarify my question in hopes of helping bridge the gap. The field id is 'home office' on both pages. When I "Prepare a Form", I see that Adobe has automatically recognized the field id as being the same, and is creating some kind of relationship to indicate the first and second instance of this field id with the "#0" and "#1" appended to the end. I expect the same information to show on both pages. What I has me baffled is why the data would populate unchecked on a single-page form, and the same data and field id name shows as checked on a two-page form. If I delete the second use of the field, the first use updates and is showing unchecked as expected.

try67
Community Expert
Community Expert
November 11, 2024

I don't quite follow... Are you saying that some fields with the same export value are checked together automatically (if on the same page), and others are not (if on different pages)? That should not happen. Could you share a sample file that demonstrates this issue?