Answers.Body: <p>If you are wanting Profiles to provide 'conditional fields' then you are likely to need an Extension such as <a href="https://civicrm.org/extensions/profile-conditionals" rel="nofollow noreferrer">https://civicrm.org/extensions/profile-conditionals</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-29T23:11:18.440Z
Answers.Text: Thanks, it took some time to understand and trial and error but that is working now. 
  Really appreciated!
Answers.UserDisplayName: Axelvds
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-27T20:01:31.393Z
Answers.LastActivityDate: 2024-05-27T20:01:31.393Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I have an online registration with a profile that has the participant role field and custom participant fields that depend on the chosen participant role. When I use the register participant link to enter a new participant, then the fields I can enter change depending on the role entered, as it should.
  When I use the online registration form the fields for all roles are shown and I when I select the participant role field, there is no change in the fields show.
  It looks like the online registration doesn’t use JavaScript but is just an html form?
  I would like to provide the functionality provided in the “register participant” form for online participants, is there a way I can achieve that?</p>
  
Tags: <civievent><custom-fields><online-registration><roles><participants>
Title: Civievent 5.73.2 register participant is different from online registration
ThreadText: # Civievent 5.73.2 register participant is different from online registration
  
  (Asked by: username_0 on 2024-05-25)
  
  I have an online registration with a profile that has the participant role field and custom participant fields that depend on the chosen participant role. When I use the register participant link to enter a new participant, then the fields I can enter change depending on the role entered, as it should.
  When I use the online registration form the fields for all roles are shown and I when I select the participant role field, there is no change in the fields show.
  It looks like the online registration doesn’t use JavaScript but is just an html form?
  I would like to provide the functionality provided in the “register participant” form for online participants, is there a way I can achieve that?
  
  **Tags:** civievent, custom-fields, online-registration, roles, participants
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-05-27. Score: 2 | Accepted answer
  
  If you are wanting Profiles to provide 'conditional fields' then you are likely to need an Extension such as <https://civicrm.org/extensions/profile-conditionals>
  
  > **Comments:**
  > **username_0**: Thanks, it took some time to understand and trial and error but that is working now.  Really appreciated!  
  
  ---
  
  