Answers.Body: <p>I did spend 5 hours on this and the error was totally repeatable on several forms. Now I have built a new form and everything works just fine. I'm at a loss to explain. Sorry to waste everyone's valuable time.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-29T20:24:29.777Z
Answers.Text: and was the Event set to 'user selects' in each case?
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-29T11:30:54.823Z
Answers.LastActivityDate: 2023-11-29T11:30:54.823Z
Answers.UserDisplayName: Tony Horrocks
Answers.Body: <p>If the method on the webform</p>
  <p><a href="https://i.sstatic.net/baRMf.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/baRMf.png" alt="enter image description here" /></a></p>
  <p>is set to</p>
  <ol>
  <li><p>'<strong>Register all contacts for the same event(s)</strong>' then use node/484?event1=254 or node/484?event2=251</p>
  </li>
  <li><p>'<strong>Register each contact separately</strong>' then use node/484?c1event1=254 or node/484?c1event1=254,252</p>
  </li>
  </ol>
  <p>HTH</p>
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-28T21:24:33.487Z
Answers.Text: Thanks Pradeep. I did do as the webform guidance suggests and it’s just not playing.
Answers.UserDisplayName: Tony Horrocks
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-29T00:14:40.393Z
Answers.Text: Is it okay to provide the look link if it's a public form?
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-29T09:33:42.367Z
Answers.Text: Hi Pradeep - I just did a vanilla install using MAMP and it works fine - must be something in server environment or a module clash somewhere. I'll investigate and post an answer in case someone else comes across this
Answers.UserDisplayName: Tony Horrocks
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-28T11:47:47.397Z
Answers.LastActivityDate: 2023-11-28T11:47:47.397Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>OK my webform has a couple of test events all public and a single contact, The event is set to register all contacts for the same event. The contact is able to register for one event, user select.  The event is set to autopopulate from the URL, my url is in the form form/{form-alias}?event1=254</p>
  <p>The events list on the form as radio buttons.</p>
  <p>And it's just not populating the event, that is the correct radio button is not highlighed, nor is the correct event selected if its in listing format.
  Am I missing something?</p>
  <p>Using Civicrm 5.67 and Drupal 10.  Webform 6.2.4.</p>
  <p><a href="https://lgf2.xpdient.co.uk/form/my-test-webform?event1=254" rel="nofollow noreferrer">https://lgf2.xpdient.co.uk/form/my-test-webform?event1=254</a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-27T17:03:05.690Z
Comments.Text: I feel like *I'm* missing something when reading this. It starts out in the middle of a thought "OK..." and uses "etc etc" as if we all can read your mind. Can you please clarify your setup, Drupal & Civi version, screenshot the form you've created, and describe in more detail what you mean by "just not selecting the event"?
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-28T21:22:42.277Z
Comments.Text: Edited as requested.
Comments.UserDisplayName: Tony Horrocks
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-29T09:34:58.233Z
Comments.Text: Hi COleman works fine on a local setup - must be the server environment or a module clash. I'll sort it and post an answer for folks.
Comments.UserDisplayName: Tony Horrocks
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-29T13:41:30.273Z
Comments.Text: Ok, good to hear you're making progress!
Comments.UserDisplayName: Coleman
Tags: <webform-civicrm>
Title: Allow events to be autoloaded from URL Webform CiviCRM does not seem to work
ThreadText: # Allow events to be autoloaded from URL Webform CiviCRM does not seem to work
  
  (Asked by: username_0 on 2023-11-27)
  
  OK my webform has a couple of test events all public and a single contact, The event is set to register all contacts for the same event. The contact is able to register for one event, user select. The event is set to autopopulate from the URL, my url is in the form form/{form-alias}?event1=254
  
  The events list on the form as radio buttons.
  
  And it's just not populating the event, that is the correct radio button is not highlighed, nor is the correct event selected if its in listing format.
  Am I missing something?
  
  Using Civicrm 5.67 and Drupal 10. Webform 6.2.4.
  
  <https://lgf2.xpdient.co.uk/form/my-test-webform?event1=254>
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: I feel like *I'm* missing something when reading this. It starts out in the middle of a thought "OK..." and uses "etc etc" as if we all can read your mind. Can you please clarify your setup, Drupal & Civi version, screenshot the form you've created, and describe in more detail what you mean by "just not selecting the event"?  
  > **username_0**: Edited as requested.  
  > **username_0**: Hi COleman works fine on a local setup - must be the server environment or a module clash. I'll sort it and post an answer for folks.  
  > **username_1**: Ok, good to hear you're making progress!  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2023-11-29. Score: 0
  
  I did spend 5 hours on this and the error was totally repeatable on several forms. Now I have built a new form and everything works just fine. I'm at a loss to explain. Sorry to waste everyone's valuable time.
  
  > **Comments:**
  > **username_2**: and was the Event set to 'user selects' in each case?  
  
  ---
  
  ### Answer by username_3 on 2023-11-28. Score: 0
  
  If the method on the webform
  
  [![enter image description here](https://i.sstatic.net/baRMf.png)](https://i.sstatic.net/baRMf.png)
  
  is set to
  
  1. '**Register all contacts for the same event(s)**' then use node/484?event1=254 or node/484?event2=251
  2. '**Register each contact separately**' then use node/484?c1event1=254 or node/484?c1event1=254,252
  
  HTH
  
  username_3
  
  > **Comments:**
  > **username_0**: Thanks username_3. I did do as the webform guidance suggests and it’s just not playing.  
  > **username_3**: Is it okay to provide the look link if it's a public form?  
  > **username_0**: Hi username_3 - I just did a vanilla install using MAMP and it works fine - must be something in server environment or a module clash somewhere. I'll investigate and post an answer in case someone else comes across this  
  
  ---
  
  