• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is it possible to set empty value for Radio Button

 
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Swing? HTML? Other?
 
Parameswaran Thangavel
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Its simple HTML. I need to do it through JavaScript.

Thanks
Param
 
reply
    Bookmark Topic Watch Topic
  • New Topic