Hiding group of params based on radio button?

Comments

2 comments

  • Avatar
    juanjo

    You can use a <choiceParameterGroup>:

    <choiceParameterGroup>
       <name>choice</name>
       <description>Select an option</description>
       <value>option1</value>
       <parameterList>
          <labelParameter name="option1" description="Option 1"/>
         <parameterGroup>
             <name>option2</name>
             <description>Option 2</description>
             <parameterList>
                <stringParameter name="suboption1" description="Sub option 1"/>
                <passwordParameter name="suboption2" description="Sub Option 2"/>
            </parameterList>
          </parameterGroup>
       </parameterList>
    </choiceParameterGroup>
    

    You can find more information here

  • Avatar
    juanjo

    The second choice radiobutton should appear vertically aligned with the second choice parameter. So, if the second choice has 3 parameters, it should appear as:

       O first choice
    
           text 1 ____________
       O  text 2 ____________  
           text 3 ____________
    

    It is also not possible to make the options invisible, just disabled

Please sign in to leave a comment.