In your form, in some fields, there are more than one para element. It should be one in any field. Which is causing this, removing the same will fix this issue.
On git changes, you can create the pipeline in Cloud Manager.
refer this:
https://experienceleague.adobe.com/docs/experience-manager-learn/cloud-service/cloud-manager/cicd-production-pipeline.html?lang=en
Please go through the below example, you will get an idea about javascript.
https://help.adobe.com/en_US/livecycle/10.0/DesignerScriptingRef/WS92d06802c76abadb-3e14850712a151d270d-7ffa.html
Please have a look:
https://experienceleague.adobe.com/docs/experience-manager-65/content/forms/adaptive-forms-advanced-authoring/working-with-adobe-sign.html#
If you want to change the data on the events of different fields and then put it on the respective event of that field, eg. change or exit event of the dropdown.
Another option is, to take a button on the form and call your main function on the click event of that button and check the different fi...
Once the form is rendered with outputService.generatePDFOutput() service, the dynamic behavior of the forms will not work, i.e. button, checkbox click, etc.