简体   繁体   中英

How to bind to action for radio button in install4j

I'm using install4j in order to create installation wizard.

I have a radio button group that contains 2 different button, in case of selecting the second button i would like to show on the same page some addition fields, while selecting the first one i would like to hide them.

User input, Variable name: test.radio

Radio button labels: radio1;radio2

Is there any possible way to bind to which radio button is selected and perform a "hide & show" operation for some text fields?

Use "Single radio button" form components instead of the "Radio button group" form component. In the configuration panel of those form components there is a "Coupled form components" tab that allows you to hide or show other form components depending on whether the radio button is selected.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM