Thanks!

We will get back to you shortly.

ACS Common Node Store Multifield with a Tabbed Panel Not Saving Fields

We encountered a problem in Adobe Experience Manager (AEM) where the ACS Common Node Store Multifield with a tabbed panel was not saving fields inside the tabbed panel. The fields outside of the tabbed panel were saving correctly.

Figure 1: AEM tabbed panel

Steps:

Opened the touchui-widgets composite-multifield touchui-composite-multifield-nodestore.js file and located where fields were being saved.

The collectDataFromFields function gets only the second children fields with the line

$fields = $(multifield).children.children(cmf.CFFW);

Note: cfm.CFFW = ".coral-Form-fieldwrapper"

Second child is not a field wrapper, it’s a TabPanel wrapper (highlighted below)

Figure 2: TabPanel wrapper html

The fields for the TabPanel are deep within the TabPanel (Highlighted below)

Figure 3: Nested fields within main TabPanel

Solution: Update the code to look for all.coral-Form-fieldwrapper rather than just the second children

All text, graphics, audio files, code, downloadable material, and other works on this website are the copyrighted works of Sagepath, Inc. Any unauthorized redistribution or reproduction of any copyrighted materials on this website is strictly prohibited. Other product and company names are trademarks of their respective owners.