Answers.Body: <p>Your first requirement could be implemented with the extension <a href="https://civicrm.org/extensions/fieldconditions" rel="nofollow noreferrer">&quot;Field Conditions&quot;</a> (conditional field) or with webforms if you are using Drupal.</p>
  <p>The other prerequisites your are planning most likely require more complex customizations. I would recommend taking a look at the extensions <a href="https://docs.civicrm.org/remoteevent/en/latest/" rel="nofollow noreferrer">RemoteEvents</a> - it offers a framework that allows you to relatively easy alter your event workflows.</p>
  <p>It relies on other extensions so and the setup can be a bit more complicated - let us know if you need support.</p>
  <p>Finally keep in mind that user need to be authenticated in order to implement your checks - either by login or by a unique token.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-06-17T21:43:36.060Z
Answers.Text: agree - also if using Drupal webform i could see some ways of doing this eg via Groups of contacts (those who are staff or those already one Level 1) and then use the Groups Roles Synch to set their Drupal role, then based on that set the access to the Level 2 or Staff events based on Drupal roles. just a thought. but without knowing the CMS it will only ever be a thought.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-06-18T03:52:24.043Z
Answers.Text: I should have mentioned that...Our live CIVICRM environment is CiviCRM 5.67.1, Joomla 4.4.2, PHP 8.1, hosted on Linode.  Given that, are the extensions you mention available fo the Joomla CMS?  I do not see them in my available extensions list.
Answers.UserDisplayName: Margaret
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-06-18T06:50:31.940Z
Answers.Text: Hi Margaret, while the CiviCRM extensions involved should work for joomla, the public forms currently require a Drupal system (there are Drupal modules that render the forms and manage data exchange with CiviCRMs API).
Answers.UserDisplayName: Fabian
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-06-19T03:55:31.370Z
Answers.Text: Thank you, Fabian and petednz - fuzion
Answers.UserDisplayName: Margaret
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-06-17T08:51:11.777Z
Answers.LastActivityDate: 2024-06-18T06:56:14.893Z
Answers.LastEditDate: 2024-06-18T06:56:14.893Z
Answers.UserDisplayName: Fabian
Body: <p>Question on how to best handle prerequisites edits for event registrations, etc. in CIVICRM. Here are some examples:</p>
  <ol>
  <li>On an event registration form, I will have an age field where the person filling out the form needs to check that they are ages 13-18.  If they check that box, they must also answer another field that they have parental consent to attend.</li>
  <li>If the person filling out the form is registering for a Level 2 training event, they must have completed the Level 1 training event.</li>
  <li>If the person filling out the form is registering to staff a training event, they must have successfully completed that training event as an attendee.</li>
  </ol>
  <p>Looking for best options to handle these kinds of scenarios.</p>
  
Tags: <civievent><option><edit>
Title: How to handle membership and event prerequisites
ThreadText: # How to handle membership and event prerequisites
  
  (Asked by: username_0 on 2024-06-16)
  
  Question on how to best handle prerequisites edits for event registrations, etc. in CIVICRM. Here are some examples:
  
  1. On an event registration form, I will have an age field where the person filling out the form needs to check that they are ages 13-18. If they check that box, they must also answer another field that they have parental consent to attend.
  2. If the person filling out the form is registering for a Level 2 training event, they must have completed the Level 1 training event.
  3. If the person filling out the form is registering to staff a training event, they must have successfully completed that training event as an attendee.
  
  Looking for best options to handle these kinds of scenarios.
  
  **Tags:** civievent, option, edit
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-06-17. Score: 2
  
  Your first requirement could be implemented with the extension ["Field Conditions"](https://civicrm.org/extensions/fieldconditions) (conditional field) or with webforms if you are using Drupal.
  
  The other prerequisites your are planning most likely require more complex customizations. I would recommend taking a look at the extensions [RemoteEvents](https://docs.civicrm.org/remoteevent/en/latest/) - it offers a framework that allows you to relatively easy alter your event workflows.
  
  It relies on other extensions so and the setup can be a bit more complicated - let us know if you need support.
  
  Finally keep in mind that user need to be authenticated in order to implement your checks - either by login or by a unique token.
  
  > **Comments:**
  > **username_2**: agree - also if using Drupal webform i could see some ways of doing this eg via Groups of contacts (those who are staff or those already one Level 1) and then use the Groups Roles Synch to set their Drupal role, then based on that set the access to the Level 2 or Staff events based on Drupal roles. just a thought. but without knowing the CMS it will only ever be a thought.  
  > **username_0**: I should have mentioned that...Our live CIVICRM environment is CiviCRM 5.67.1, Joomla 4.4.2, PHP 8.1, hosted on Linode.  Given that, are the extensions you mention available fo the Joomla CMS?  I do not see them in my available extensions list.  
  > **username_1**: Hi username_0, while the CiviCRM extensions involved should work for joomla, the public forms currently require a Drupal system (there are Drupal modules that render the forms and manage data exchange with CiviCRMs API).  
  > **username_0**: Thank you, username_1 and username_2 - username_2  
  
  ---
  
  