Expand my Community achievements bar.

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

Avatar

Administrator

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.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies