Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM 6.2 Form - text outside the form

Christopher_Pa4
Level 4
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
TundraSteve
Correct answer by
Level 8
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
kautuk_sahni
Community Manager
Community Manager

Moving this post to "forms" topic.

~kautuk

TundraSteve
Correct answer by
Level 8
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

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