AEM 6.2 Form - text outside the form | Community
Skip to main content
Level 4
October 12, 2017
Solved

AEM 6.2 Form - text outside the form

  • October 12, 2017
  • 3 replies
  • 2874 views

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:

<guide:includeGuideContainer/> 

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?

Thanks!

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 user7587541

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

3 replies

kautuk_sahni
Community Manager
Community Manager
October 13, 2017

Moving this post to "forms" topic.

~kautuk

Kautuk Sahni
user7587541Adobe EmployeeAccepted solution
Adobe Employee
October 27, 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

Adobe Employee
November 29, 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" />).