• 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

map backed form related issue

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

In my application I am using map-backed form. I am using it to store responses of the user for one survey based system. For example,


1) Question1
a) Yes
b) No

2) Question2
a) Yes
b) No


In this example, Question2 will only be displayed if user selects "Yes" answer of Question1.

Now, this captures responses properly and storing it in the map available in the form. But if user changes the response from Yes to No in Question1 then I need to remove response of Question2 from map available in form. Since user had answered Question2 it is still available there.

Can anyone adivce me to fix this issue?

Thanks,
Bhavin

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic