Answers.Body: <p>Be very careful when sending people to a webform that has multiple events on them. If they return to that webform (or another webform that pulls in the same Events) at a later time and select another event -> what they are technically doing is canceling their participant registration for the event they un-select and registering themselves for the newly select event.</p>
  
  <p>The setting to not unregister participants from Events will just affect the processing of the form; On load of the webform it does makes sense to me that it shows the Event one is current registered for.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-20T18:30:47.387Z
Answers.Text: True, and I fixed that by checking 'Disable unregistering participants from unselected events'.  I unchecked that, but still the problem persists.
Answers.UserDisplayName: Andy Clark
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-20T18:34:17.243Z
Answers.Text: Can you get us some screenshots? Then I'll try and reproduce this behaviour.
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-23T19:04:11.923Z
Answers.Text: We had this issue once but turning off the setting of "unregistered participants from unselected events" resolved it for us
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-20T18:20:21.520Z
Answers.LastActivityDate: 2018-07-20T21:09:34.287Z
Answers.LastEditDate: 2018-07-20T21:09:34.287Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p><a href="https://i.sstatic.net/eufh4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/eufh4.png" alt="enter image description here"></a>I'm using Views to display some events, the user clicks on one and that fires up a webform where they can sign up for the chosen event (so passing the event id in the url).  All working well but...if the user then selects a different event in the webform (not unreasonable) then that event becomes the default event - and won't go away.  Even when the user later selects a different event in Views, when they come to the webform the previously chosen event will be selected - not the one they selected and was passed in the url.  This feels like a bug, and should be easy to reproduce, but maybe there's an explanation or way of stopping this? (Upgraded to latest 5.3.1 still same problem). First screenshot is Views &amp; you can see the url correctly generated for event id 19.  Second screen shows event on Aug 4 incorrectly selected which is event id 18 (I selected this at a previous time)
  <a href="https://i.sstatic.net/7GVqF.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7GVqF.png" alt=""></a></p>
  
Tags: <webform-civicrm><drupal-views>
Title: How to make webform forget a selected event?
ThreadText: # How to make webform forget a selected event?
  
  (Asked by: username_0 on 2018-07-20)
  
  [![enter image description here](https://i.sstatic.net/eufh4.png)](https://i.sstatic.net/eufh4.png)I'm using Views to display some events, the user clicks on one and that fires up a webform where they can sign up for the chosen event (so passing the event id in the url). All working well but...if the user then selects a different event in the webform (not unreasonable) then that event becomes the default event - and won't go away. Even when the user later selects a different event in Views, when they come to the webform the previously chosen event will be selected - not the one they selected and was passed in the url. This feels like a bug, and should be easy to reproduce, but maybe there's an explanation or way of stopping this? (Upgraded to latest 5.3.1 still same problem). First screenshot is Views & you can see the url correctly generated for event id 19. Second screen shows event on Aug 4 incorrectly selected which is event id 18 (I selected this at a previous time)
  [![](https://i.sstatic.net/7GVqF.png)](https://i.sstatic.net/7GVqF.png)
  
  **Tags:** webform-civicrm, drupal-views
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-07-20. Score: 1
  
  Be very careful when sending people to a webform that has multiple events on them. If they return to that webform (or another webform that pulls in the same Events) at a later time and select another event -> what they are technically doing is canceling their participant registration for the event they un-select and registering themselves for the newly select event.
  
  The setting to not unregister participants from Events will just affect the processing of the form; On load of the webform it does makes sense to me that it shows the Event one is current registered for.
  
  > **Comments:**
  > **username_0**: True, and I fixed that by checking 'Disable unregistering participants from unselected events'.  I unchecked that, but still the problem persists.  
  > **username_1**: Can you get us some screenshots? Then I'll try and reproduce this behaviour.  
  > **username_2**: We had this issue once but turning off the setting of "unregistered participants from unselected events" resolved it for us  
  
  ---
  
  