CRM-9579 make use of values submitted on event register form on event confirm form

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.8
    • Fix Version/s: 4.2.0
    • Component/s: None
    • Labels:
      None

      Description

      I wanted to display some info collected via buildForm on a event registration page (CRM_Event_Form_Registration_Register) on the confirmation page (CRM_Event_Form_Registration_Confirm) but the params were protected. So I unprotected them.

      first attachment - simple diff
      secon attachment - example of buildForm hook using this unprotected var (which I noticed was slightly different from bgm's similar work for contributions

        Attachments

        1. CRM_Event_Form_Registration.diff
          0.5 kB
          Michael McAndrew
        2. fend_event.module
          1 kB
          Michael McAndrew

          Activity

          [CRM-9579] make use of values submitted on event register form on event confirm form
          Donald A. Lobo added a comment -

          U can get the values of protected params by calling:

          $form->getVar( '_params' );

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Michael McAndrew

              Dates

              • Created:
                Updated:
                Resolved: