CiviEvent: Submit button has wrong label in online registrations with multiple participants (on free events without confirmation screen)
Overview
On a registration page for an event that allows multiple attendees, the submit button is labelled "Review" instead of "Register" though confirmation screen is disabled and event has no fees:
Reproduction steps
- Create a event free of charge with online registration
- Enable checkbox "Register multiple participants?"
- Try out registration page
Current behaviour
- Button is labelled "Review" when option for multiple participants is enabled and drop down option is "1".
- For dropdown "2" the label is "Continue" in the first step of the form. The last step then shows "Continue" again.
Expected behaviour
The "final submission button" should here always have the label "register" as it is the case when disabling "Register multiple participants".
Environment information
Reproduced on:
- CiviCRM: 5.61.alpha1/5.60.0/5.58.1
- PHP: 8.1/7.4