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

AEM 6.2 Form - text outside the form

Avatar

Level 4

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!

1 Accepted Solution

Avatar

Correct answer by
Level 8

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

View solution in original post

3 Replies

Avatar

Administrator

Moving this post to "forms" topic.

~kautuk



Kautuk Sahni

Avatar

Correct answer by
Level 8

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

Avatar

Level 3

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