Radio button in AEM | Community
Skip to main content
September 8, 2017
Solved

Radio button in AEM

  • September 8, 2017
  • 2 replies
  • 5980 views

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.

2 replies

VeenaVikraman
Community Advisor
Community Advisor
September 9, 2017

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

viveksachdeva
Community Advisor
viveksachdevaCommunity AdvisorAccepted solution
Community Advisor
September 11, 2017