Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Custom adaptive form template & i18n

Avatar

Level 4

Hi, all.

When I follow this guide, I end up with a dictionary created under /content/forms/af/myForm/jcr:content/assets.

But, if I have a custom form template under /apps/myApp/fd/af/templates/myFormTemplate, how can I add a base dictionary to it instead of adding a different dictionary to every form created from this template?

Is that possible?

If it's not, what would be the most elegant solution for the problem of reusing the same dictionary entries between forms of a specific template?

Thanks!

Regards,

Daniel.

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi Daniel,

As template is just a starting point for form, which gives a proposed layout, theme for form. Template in no way, is capable of predicting the actual fields / labels / tab titles of the form. Hence the dictionary is kept with actual form, which has the sole governing power over its fields, their labels, tab / wizard/ accordion titles (which actually need to be localized)

View solution in original post

1 Reply

Avatar

Correct answer by
Level 3

Hi Daniel,

As template is just a starting point for form, which gives a proposed layout, theme for form. Template in no way, is capable of predicting the actual fields / labels / tab titles of the form. Hence the dictionary is kept with actual form, which has the sole governing power over its fields, their labels, tab / wizard/ accordion titles (which actually need to be localized)