I have a dynamic form initially designed in LiveCycle then updated in AEM manager. It has a section of dynamically added rows, and a user selected Dropdown for how many signature lines to include at the bottom of the table. The signatures are hidden subforms and it works when the user changes the number on the dropdown.
However when I import data no code following the importdata seems to execute. is there an easy way to read a value populated from the import and run a script to change the subform visibility without adding a second command button?
There are a lot of places for event when attempting to determine which events occur in which sequence! Based on radzmar's key information it took me days of placing events and testing to figure out the correct form event to use. The answer is after the field event code runs with the ImportData(), place code on the top level of the form in the ::ready:form event to take any actions necessary following the import and before the user gets to interact with the form. I marked this an answered and gave radzmar answer credit for the nugget that allowed me to map through the events.
I am unable to access the second link behind the company firewall. I understand code following importdata() and remerge() functions execution in that code section doesn't execute. What I am trying to find out is if after a on click button event and the form has remerged is there a form level eventwhich could be used to take actions based on updated and remerged field values without having to add a manual mouse click button to call the code from.
When using the importData() method, the template and imported data will automatically be remerged into a new form. In scriptings all parts to happen after that remerge process won't execute. You'll have to split you scripings in several parts and assing those to suitable events.