Question

I want to create a form component that contains radio button along with text field for each of the radio button options. The radio button group component in install4j creates a radio button, however there is no option to create a text field along with it. Basically, I want to give an option to the user to allow him to enter either of the 2 values. Is there any other alternative? The value will be entered by the user and hence cannot use combo box. Please help!

Was it helpful?

Solution

You can use a "Single radio button" form component and "Text field" form component and put them into a "Horizontal group".

In the configuration of the "Single radio button" form component, select the "Coupled form component" tabs and select the text field form component. Then the text field will only be enabled is the radio button is selected.

Then, repeat this for each value of the radio button group and make sure that all "Single radio button" form components have the same value in their "Variable name" properties.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top