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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Checkbox inside Multifield Touch UI

Level 4
Level 4


I am using AEM 6.1 SP1. I am trying to develop touch ui for the components. I am facing problem with checkbox in the multifield. The sling:resourceType for checkbox i am using is "granite/ui/components/foundation/form/checkbox", gave value = true. 

When i looked in to the page data in CRXDE, the field is saving like this "checkss":["true"],

Always checkbox value is getting saved inside another square bracket. I am not sure how to avoid that. Because of brackets and quotes, even while trying to data-sly-test it is giving me unable to scan input error.

Please reply with thoughts.

0 Replies
Level 10
Level 10

To get a checkbox working in a Multifield - you can code against the Granite APIs as we do in this article:

IN this article - we are coding a nested Multi-field:

CUI.Multifield = new Class

But instead of a multifield - code a checkbox so it appears in the multi-field dialog.  

Here is another artilce that will help you to code with Granite APIs in a Touch UI dialog:

( i cannot find an example of using a checkbox in a MF - however - these two articles should show you how to code with the granite APIs in a touch ui dialog.) 

Level 2
Level 2

Facing same issue.Please let me know if there is workaround.