This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to set empty value for Radio Button

 
Parameswaran Thangavel
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a primary question QA and Secondary question QB.

If user chose Yes for QA, the i will show the secondary question QB.

But if user chose QA, i will not show the QB.

Consider the below steps of execution

Step 1) Chose Yes for QA.
Step 2) Chose Yes for QB.
Step 3) Then user chooses No for QA. So i will hide the QB.

But at the end of step 3 still the form has the value for QB. SO i want to know is it possible to set the empty value for QB. Basically when user chooses QA the QB should be empty value. Is it possible to acheive the above requirement.

Any help would be appreciated.

Thanks
Param
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Swing? HTML? Other?
 
Parameswaran Thangavel
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its simple HTML. I need to do it through JavaScript.

Thanks
Param
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic