I need to present a choice to the user in the form of 2 radio buttons, but if the 2nd is chosen, I need to reveal 4 text boxes for them to fill in.

Is this possible?

asked 13 Mar '12, 16:00

bstoke's gravatar image

accept rate: 0%

You can use a <choiceParameterGroup>:

   <description>Select an option</description>
      <labelParameter name="option1" description="Option 1"/>
         <description>Option 2</description>
            <stringParameter name="suboption1" description="Sub option 1"/>
            <passwordParameter name="suboption2" description="Sub Option 2"/>

You can find more information here


answered 13 Mar '12, 16:44

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

thanks, but that doesn't give me what I need...

The Sub Option 1 shows under the first radio - I need both under the 2nd radio, like this:

O first choice
O second choice
   text 1 ____________
   text 2 ____________

I also need the text 1 & 2 to be invisible until the second choice radio is pressed.

are both of these possible?

(13 Mar '12, 17:26) bstoke

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


answered 14 Mar '12, 08:33

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 13 Mar '12, 16:00

Seen: 1,563 times

Last updated: 14 Mar '12, 08:34