Skip to main content
September 8, 2017
해결됨

Radio button in AEM

  • September 8, 2017
  • 2 답변들
  • 6003 조회

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

이 주제는 답변이 닫혔습니다.

2 답변

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
Community Advisor
September 11, 2017