AEM Forms template jquery error on radio button click
Hi:
Hoping someone can shed some light on why I'm getting a javascript error when I click on a radio button on my xfa based AEM Forms template. The knock on effect is that the radio button is not being shown as selected. Through some javascript debugging I've been able to determine that what appears to be happening is that the radio button is being checked and then immediately unckecked.
Here are some details on the javascript error:
location: /etc/clientlibs/fd/af/guideRuntimeWithXFA.js
error on line 35332: this.commitValue(jqwidgettochange.option("value"));
error: TypeError: jqwidgettochange is undefined
Here's some back story to put some context around this:
- adaptive form demo being built on AEM6 SP1, AEM Forms SP1, AEM Forms FP1
- XFA based adaptive form
- form template located at /apps/geometrixx-gov/components/page/tabbed-enrollment-page copied into a new project
- I've created 2 virtually identical form demo's so far, both based on the same XFA form (although uploaded in 2 different areas of the repository)
- Demo 1 was created within the Geomettrix web site and was my initial attempt at the demo
- Demo 2 was created on a new AEM site I created which is based on a copy of the potential client's actual web site which I imported into AEM using the AEM Site Importer tool
- both demos are created using the same above mentioned AEM Forms template, although demo 2 is of course using the copied instance of the form template
- radio buttons on demo 1 work fine
- I know that the state of the radio buttons is being captured in demo2 because when I render the XFA (PDF) form for the Echosign piece, all the radio button selections are shown correctly
At a high level you may of course say that I made some sort of error when copying the template. That may be true but I am quite new to AEM and have followed the relatively simple training I have received to date to the best of my current capabilities. The understanding I have been given from training is you often start projects by copying and pasting nodes in the repository and then modifying them as needed, which I have done. 99.9% of the form template is working in both demos. As you can see the error is pretty deep in some javascript code so it's a bit beyond me right now to try and troubleshoot this too much more.
Hope someone can help. Thanks in advance.
Dale
