Details
Description
Third of Three Jira Issues to stop the Email address being a required field during event registration if a profile has been assigned for the sign up process.
This task is to amend the system such that if the event registration includes other profiles for the participant registration and those profiles include the (email address) or (first name or last name), then the reserved Email Address profile is NOT injected into the form.
Code changes will be to the following routines
• ??
• ??
• ??
Test Cases
• Email profile hides when another profile that includes an email address is included
• Email profile hides when another profile that includes first name and surname
- Test both above cases with Additional Participant forms (when "register multiple participant" is enabled). Note that the Additional Participant forms can be configured to use different profiles from the main participant form. You'll need to check uf_join table for rows with module = 'CiviEvent_Additional'