Expand my Community achievements bar.

SOLVED

Dialog Repeatable Fields

Avatar

Level 3

Hi 

I have to create a dialog screen in which i have to display a combination of fields and some of the fields are repeatable.

Here is the structure I need:

Below Entire section is repeatable.

1. Section Title - text

2. Section Links - This is also Repeatable section

a) Link Text

b) Link URL

How can I achieve this? I could not figure out how to create repeatable fields in Dialog section. AEM version 6.0.

Thanks in Advance. 

1 Accepted Solution

Avatar

Correct answer by
Level 10

What you want to do is use multifields. See the article to learn how to use multifields. https://helpx.adobe.com/experience-manager/using/jstl.html

View solution in original post

8 Replies

Avatar

Level 10

what do you mean by repeatable section ?? you mean to say should have an option to 'add' ??

Avatar

Level 3

Yes, more like 'add' button only, through which I can create multiple instances of same field.

Avatar

Correct answer by
Level 10

What you want to do is use multifields. See the article to learn how to use multifields. https://helpx.adobe.com/experience-manager/using/jstl.html

Avatar

Level 3

Thanks for pointing to the article. Looks like I will need Using ExtJS Widgets package for using multifield. I don't have access to package share so cannot download it from there. Is there any other alternative to get this package?

Thanks

Avatar

Level 10

You dont need any package. EXTJS is in built with AEM and you can create your own widgets.

Example of creating nested multifield is here. You can take this as a reference

[1] https://helpx.adobe.com/experience-manager/using/nested_multifield.html

Avatar

Administrator

Hi,

Reference articles:-

Link:- https://helpx.adobe.com/experience-manager/using/nested_multifield.html   Package

Link:- http://experience-aem.blogspot.in/2015/03/aem-6-sp2-touch-ui-coral-ui-nested-multi-multifield.html Package

Please try to install package directly. You do not need any package for EXTJS, it is already part of AEM.

I hope these packages will help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni