Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

map backed form related issue  RSS feed

Bhavin Sanghani
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!