Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

XFA Model Event Firing Problem

Avatar

Level 1
Hello XFA gurus,



I have an XDP that refernces a PDF and has some pre-filled fields. Problem here is I have a function that needs to be executed on page load, but after the form data is merged. Because of the interactive XFA model, the events like "docReady", "form:ready" and "layout:ready" all fire twice, once before there is any data in the fields and once after.



How would I accomplish the execution of this function only after the data has been merged? I can't simply check to see if the fields have data in them, as different fields may contain data each time and others will be blank so there is no single field I can check to see if it has been populated.
0 Replies