コミュニティアチーブメントバーを展開する。

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
解決済み

Using switch and case with Radio Buttons

Avatar

Level 7

Can I use the switch case with radio buttons ?

What will be the parameter to determine the choice just like xfa.event.newText is used for dropdown list.

Aditya

1 受け入れられたソリューション

Avatar

正解者
Level 10

Hi Aditya,

Select the exclusion group in the hierarchy (you don't have to script each radio button) and select the click event. The switch statement would use the this.rawValue.

Hope that helps,

Niall

元の投稿で解決策を見る

2 返信

Avatar

正解者
Level 10

Hi Aditya,

Select the exclusion group in the hierarchy (you don't have to script each radio button) and select the click event. The switch statement would use the this.rawValue.

Hope that helps,

Niall

Avatar

Level 7

Niall,

Thank you for the sample attachment.... It will work perfectly for me.

Aditya