Skip to main content
Level 4
October 12, 2017
해결됨

AEM 6.2 Form - text outside the form

  • October 12, 2017
  • 3 답변들
  • 2897 조회

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!

이 주제는 답변이 닫혔습니다.
최고의 답변: 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 답변

kautuk_sahni
Adobe Employee
Adobe Employee
October 13, 2017

Moving this post to "forms" topic.

~kautuk

Kautuk Sahni
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" />).