Touch UI listeners | Community
Skip to main content
pallavis8124480
Level 3
Jan 3, 2018 10:05 AM UTC
Solved

Touch UI listeners

Hi All,

I would like to know how can we use touch UI listeners  . I want to achieve something like below :
There are 2 radio buttons (A,B) and there is a text box.
Upon Clicking on radio button A ,text box should be displayed and upon clicking on button B ,text box should be hidden.
By default its hidden.

I also need the same logic for checkbox also.


Please give me some idea how can I implement this.

Thanks,

Pallavi

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
Jan 4, 2018 10:06 AM UTC

8 replies

arunpatidar
New Participant
Dec 7, 2018 9:22 AM UTC
Arun Patidar
Level 2
Dec 6, 2018 8:01 PM UTC

This link is broken...

Translate
pallavis8124480
Level 3
Jan 4, 2018 11:08 AM UTC

Yes similar to the link which you have given .
Is there a similar implementation for Radio button and check boxes ?

Translate
edubey
edubeyAccepted solution
Level 10
Jan 4, 2018 10:06 AM UTC
pallavis8124480
Level 3
Jan 4, 2018 8:52 AM UTC

Thank you.


But I would like to know if there is any  way like the hide show functionality of Dropdown field in List component.

Please find the path below :

/libs/foundation/components/list/cq:dialog

Please let me know if there is any way , I will try this way as well.

Thanks,
Pallavi

Translate
pallavis8124480
Level 3
Jan 4, 2018 8:51 AM UTC

Thank you (Y)

Translate
smacdonald2008
Level 10
Jan 3, 2018 9:25 PM UTC

See Sreekanth's artilce here - he uses Multi field as an example -- Experiencing Adobe Experience Manager - Day CQ: AEM 63 - Sample Coral 3 Multifield Item Listener

Translate
edubey
Level 10
Jan 3, 2018 11:04 AM UTC

Have a look at the sample implementation for this scenario is provide here with Image in core component

/apps/core/wcm/components/image/v1/image/clientlibs/editor/js/decorative.click.js

-ref to AEM 6.3

Translate