Limit Multifield Value from design_dialog in AEM 6.5 | Community
Skip to main content
August 20, 2019
Solved

Limit Multifield Value from design_dialog in AEM 6.5

  • August 20, 2019
  • 1 reply
  • 778 views

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?

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 arunpatidar

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

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 20, 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

Arun Patidar