Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Duplicate
-
Affects Version/s: 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.5
-
Fix Version/s: Unscheduled
-
Component/s: CiviMember
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
When an organization wants to offer user accounts and optional membership, the contribution/membership form is less than user-friendly. The form requires a $0.00 Contribution Amount and the user is confused by the billing information since it isn't required with a $0.00 contribution.
Attached is a patch to the MembershipBlock template.
When the user selects 'No Thank You' or if it is already selected (i.e. form errors):
1. Hides the 'Contribution Amount' textfield
2. Sets the value to $0.00
3. Hides the Billing Information fieldset
When the user selects any other membership option:
1. Shows the 'Contribution Amount' textfield
2. Empties the value if it was previously set to $0.00
3. Shows the Billing Information fieldset