CRM-11953 Add formRule to prevent membership fields in profile fields when 'On behalf of ' functionality is enabled

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      Add formRule to prevent membership fields in profile fields when 'On behalf of ' functionality is enabled.

      When 'On behalf of ' profile is used, the membership is made for the Org and not the Individual,
      hence it makes sense to collect the membership data in the On behalf of profile rather than custom pre/post profiles.

      Adding the form rule will avoid the confusion.

        Attachments

          Activity

          [CRM-11953] Add formRule to prevent membership fields in profile fields when 'On behalf of ' functionality is enabled
          Pratik Joshi added a comment -

          checked in r45895.

          Added test case : inside WebTest_Contribute_OnBehalfOfOrganization::testOnBehalfOfOrganizationWithMembershipData

            People

            • Assignee:
              Pratik Joshi
              Reporter:
              Yashodha Chaku

              Dates

              • Created:
                Updated:
                Resolved: