AEM 6.2 Form - text outside the form

Christopher_Pa4 12-10-2017

Hi All!

I am starting to work with AEM 6.2 adaptive forms, and our design wants authors to be able to make editable text instructions above the form. However the default functionality does not seem to allow this.

Our form body uses:


I've tried various methods to include a cq:include or sling:include to have a component outside of the form body, but no luck. Any ideas?


Accepted Solutions (1)

Accepted Solutions (1)

TundraSteve 27-10-2017

Why are you placing instructions outside the form, I need more detail.  You could like do this with the guidebridge API but I'd need more detail to make a recommendation.  Correspondence management may be a better fit here as well

Answers (2)

Answers (2)

lesutton1 29-11-2017

Chris, if you take a look at the default templates, you should find a good modal window example. It allows you to create an editable text are on the form along with a button on the form that pops up the instructions over / above the form.

Alternatively, if you need author-editable text inside your form, then you can add a parsys section to the template of your form. That will allow you to have an author editable area on the form that you can either use the editor for, or will be stored as a crx node that you can edit outside of the form editor (<cq:include path="par" resourceType="foundation/components/parsys" />).