Radio button in AEM | Community
Skip to main content
Sep 8, 2017 8:14 PM UTC
Solved

Radio button in AEM

Hi I'm trying to access the radio button value from dialog box of component, i.e., I have configured a radio button on component. I want get the boolean value of the radio button if selected in the component js. But I am not understanding how to know if radio button is checked or not in javascript.

sling:resourceType = /libs/granite/ui/components/foundation/form/radio

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
viveksachdeva
viveksachdevaAccepted solution
New Participant
Sep 11, 2017 2:04 AM UTC

2 replies

viveksachdeva
viveksachdevaAccepted solution
New Participant
Sep 11, 2017 2:04 AM UTC
VeenaVikraman
New Participant
Sep 9, 2017 6:39 PM UTC

Hi Mallika

    I am not sure about the use-case , but one way you can do is to

  1. fetch the value from your dialog in your.html file
  2. set it as a hidden field
  3. using your jquery, you can fetch this value from your page at any time

Thanks

Veena

Translate