Highlighted

How would you implement Adobe CQ client side validation for form fields? | AEM Community Blog Seeding

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

959

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.6K

Likes

959

Correct Answer

1.1K
kautuk_sahni
Community Manager

26-05-2020

BlogImage.jpg

How would you implement Adobe CQ client side validation for form fields? by howtoaem Blog

Abstract

How to wrap 2 components in a div from the template content.xml file?
I have two components that should be configured in a cq template, in the content.xml file (in the jcr:content node). I don't have a page component for my template, so I cannot do something like this:
 
Is there a way to define a div container from within content.xml?

Best How To:
There can be one trick, you can add below to the content.xml file of your template.








This will create the content nodes for the page using this template, but to make this work you must have parsys included in your rendering page component path/of/page/page-component e.g. 

Also there are some other ways like to add node of cq:template under your page component to pre-populate the components.

Read Full Blog

How would you implement Adobe CQ client side validation for form fields?

Q&A

Please use this thread to ask the related questions.

AEM AEMEBlogSeeding Experience Manager