Limit Multifield Value from design_dialog in AEM 6.5

freedeebee

20-08-2019

Hi everyone,

i want to limit the amount of items an author can set in a component with multifield values to a specific number specified by the template editor in design_dialog. I did not find a AEM native solution for this, so I tried with jQuery. But I don't know how I can access the number specified in design_dialog in jQuery. So is there a clean solution for this, or how can I access the data?

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar

MVP

20-08-2019

I don't think so its very straight forward.

You need to read the limit value from design_dialog using ajax call and use when you verify against number of edited fields in jquery

Answers (0)