Dialog Repeatable Fields | Community
Skip to main content
Level 3
July 10, 2016
Solved

Dialog Repeatable Fields

  • July 10, 2016
  • 8 replies
  • 1632 views

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. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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

8 replies

Lokesh_Shivalingaiah
Level 10
July 10, 2016

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

Level 3
July 10, 2016

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

smacdonald2008
smacdonald2008Accepted solution
Level 10
July 10, 2016

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

Lokesh_Shivalingaiah
Level 10
July 10, 2016

You need to use multifield to achieve the same. Refer [1]

[1] https://docs.adobe.com/content/docs/en/cq/5-6-1/developing/widgets.html#Custom Widgets

Level 3
July 11, 2016

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

Lokesh_Shivalingaiah
Level 10
July 11, 2016

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

Lokesh_Shivalingaiah
Level 10
July 11, 2016
kautuk_sahni
Community Manager
Community Manager
July 11, 2016

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