CRM-11182 Ability to enable the registration confirmation page for free events

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.4
    • Fix Version/s: 4.5
    • Component/s: CiviEvent

      Description

      The current registration process for free events doesn't make it clear that a user would be immediately registered after pressing "continue" on the first page of the registration form.

      Ideally there should be an option to have a confirmation page for free events where people can review their form input or at least have the Continue button renamed to Register if no confirmation page exists.

        Attachments

        1. CRM-11182.patch
          5 kB
          Web Access
        2. CRM-11182.patch
          1 kB
          Swati Shankar Karande

          Activity

          [CRM-11182] Ability to enable the registration confirmation page for free events
          Donald A. Lobo added a comment -

          would be great if you can work on and contribute a patch for this. Its a free event, so i would suggest just a rename of the button

          Swati Shankar Karande added a comment -

          Hi,

          I have created simple patch for rename button name.

          Stan Dragnev added a comment -

          Is there anywhere else I should suggest we have the option of a confirmation page for free events? I didn't want this suggestion to be lost by just renaming the button.

          Some free events have fairly complicated forms. I think it may be beneficial to offer a confirmation page to users.
          It's also inconsistent and confusing for admins that there's a confirmation page in one case but not the other. Especially since you have the option of entering text for it during the event setup, but then never see it appear.

          David Greenberg added a comment -

          Stan - I think it would make more sense to allow admins to configure this behavior for each event regardless of whether it's free or not. Something similar was implemented a while back for online contribution pages - there's a checkbox:

          [ x ] Use a confirmation page?
          If you disable this contributions will be processed immediately after submitting the contribution form.

          We're not adding features for 4.3 at this point, but if you're interested in working on a patch which does this it would be considered for 4.4.

          Stan Dragnev added a comment -

          Yes, an admin option during event setup is exactly what I was thinking as well.
          Thanks.

          Web Access added a comment -

          Hi,
          I have created a patch for this issue ( for civicrm trunk ).
          1) I have added " [ x ] Use a confirmation page? " checkbox on event pages.
          2) Redirection to confirm page or thank you page will perform according to checkbox value.
          3) If event is free and 'Use a confirmation page' is unchecked then button name will change from 'Confirm >>' to 'Register >>'

          John K. added a comment - - edited

          I'm experiencing some issues with this patch, including duplicate participant registrations and numerous PHP warnings. I'll take a look and see if I can put together a PR for this functionality.

          Most of the work should already be done since it is a feature of CiviContribute. I'll try to keep them as similar as possible for the UX.

          This topic was also recently under discussion here (for info): https://issues.civicrm.org/jira/browse/CRM-14342

          David Greenberg added a comment -

          John - please submit the PR against master for 4.5 release, and be sure and include upgrade logic needed assuming there's a schema change in event table. Note that this could potentially also be handled as a CiviEvent component setting which sets the behavior globally - but i'm not sure that's the best approach unless there were 2 settings

          • confirmation required for free events? (default = FALSE)
          • confirmation required for paid events? (default = TRUE)
          John K. added a comment - - edited

          David - in line with your suggestion in https://issues.civicrm.org/jira/browse/CRM-14342 I'll try to apply this as a setting per event:

          'Use a confirmation page?' checkbox on the event 'online registration' settings page, default ticked (as per the contribution page settings).

          This can be turned off for paid or free event at admin discretion.

          The logic for updating all existing events in the system would be free events do not use a confirmation page, paid events do use a confirmation page.

          I might come up against a bit of a wall trying to get this working on paid events though since the confirmation page seems to be tied in to the logic...

          John K. added a comment -

          I'll be rolling a PR for this some time over the next day or so with functionality to match the issue title.

          John K. added a comment - - edited

          I've submitted a PR that adds a 'Use confirmation screen' option to the 'Confirmation screen' fieldset on the Online Regsitration tab when editing an event. The option only appears if the event is not monetary. I've also updated the registration logic to allow the confirmation page to display without errors if the event is not monetary, and to use the confirmation page for free events when required.

          https://github.com/civicrm/civicrm-core/pull/3045

          David Greenberg added a comment -

          John has submitted a PR for this that looks complete against master (as requested). Hence moving this into 4.5 for review and merge if things look good.

          John K. added a comment -

          I just have a quick question about one of the lines in the PR - commented on GitHub:
          https://github.com/civicrm/civicrm-core/pull/3110/files

          Thanks for the work on this.

            People

            • Assignee:
              Yashodha Chaku
              Reporter:
              Stan Dragnev

              Dates

              • Created:
                Updated:
                Resolved: