Expand my Community achievements bar.

SOLVED

Problem identified in AEM Forms that use XFA based form template

Avatar

Level 4

 Hi Folks,

I was trying the dynamic pre-population of dropdown example provided in the following URL

http://helpx.adobe.com/aem-forms/6/dynamically-populate-dropdowns.html

The example that is provided in the above link uses a AEM Form with no template (neither XDP nor XSD).

I tried creating a AEM form based on a XDP, The ajax call to populate the state drop down does not work when there is a bind reference to the state field. Also in my XDP i earlier defined the country dropdown in the Livecycle Designer in the List Items in the Fields Tab, and used the field in my AEM form, but in Authoring mode if I tried to change the country list, the country dropdown does not render the new values. Is there an inherent issue with AEM Forms based on XDP to create conflict.

Please help me find a solution to the above problem or let me know if authoring of values and dynamic pre population of AEM Forms drop down is a no possible use case.

 

Regards -

Ashok Deivasigamani

1 Accepted Solution

Avatar

Correct answer by
Employee

This seems to be bug in Adaptive Form.

As a workaround, you can have two drop downs dropdown1, dropdown2. dropdown2 is non-binded field and you can populate it dynamically as mentioned in article. dropdown1 would be binded with xfa dropdown with two additional expression: visibility expression set to false. calc expression set to dropdown2.value

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

This seems to be bug in Adaptive Form.

As a workaround, you can have two drop downs dropdown1, dropdown2. dropdown2 is non-binded field and you can populate it dynamically as mentioned in article. dropdown1 would be binded with xfa dropdown with two additional expression: visibility expression set to false. calc expression set to dropdown2.value

Avatar

Level 4

Thanks Deepak,

will for now use the work around that you have suggested, Hope that there will be a bug fix in the future for this one.

Besides, what about the authoring part in case the user wishes to change the options, is there a bug there as well.

 

Regards -

Ashok D