On memoir

This event has only 16 space(s) left. If you continue and register more than 16 people (including yourself ), the whole group will be wait listed. Or, you can reduce the number of people you are registering to 16 to avoid being put on the waiting list.
Your Registration Info
Event Fee(s)
{ cj("#crm-submit-buttons").show(); cj("#paypalExpress").hide(); } else { cj("#paypalExpress").show(); cj("#crm-submit-buttons").hide(); } } function showHidePaymentInfo() { if 2) cj("#bypass_payment").val() == 1 { cj('#billing-payment-block').hide(); } else { cj('#billing-payment-block').show(); } } allowGroupOnWaitlist(0, 0); function allowGroupOnWaitlist(additionalParticipants, pricesetParticipantCount) { additionalParticipants = 0; additionalParticipants = parseInt(additionalParticipants); if (!additionalParticipants) { additionalParticipants = 0; } var availableRegistrations = '16'; var totalParticipants = parseInt(additionalParticipants) + 1; if (pricesetParticipantCount) { // add priceset count if any totalParticipants += parseInt(pricesetParticipantCount) - 1; } var isrequireApproval = ''; if (totalParticipants > availableRegistrations) { cj("#id-waitlist-msg").show(); cj("#id-waitlist-approval-msg").show(); //set the value for hidden bypass payment. cj("#bypass_payment").val(1); } else { if (isrequireApproval) { cj("#id-waitlist-approval-msg").show(); cj("#id-waitlist-msg").hide(); } else { cj("#id-waitlist-approval-msg").hide(); } //reset value since user don't want or not eligible for waitlist cj("#bypass_payment").val(0); } //now call showhide payment info. }
{ cj("#crm-submit-buttons").show(); cj("#paypalExpress").hide(); } else { cj("#paypalExpress").show(); cj("#crm-submit-buttons").hide(); } } function showHidePaymentInfo() { if 4) cj("#bypass_payment").val() == 1 { cj('#billing-payment-block').hide(); } else { cj('#billing-payment-block').show(); } } allowGroupOnWaitlist(0, 0); function allowGroupOnWaitlist(additionalParticipants, pricesetParticipantCount) { additionalParticipants = 0; additionalParticipants = parseInt(additionalParticipants); if (!additionalParticipants) { additionalParticipants = 0; } var availableRegistrations = '16'; var totalParticipants = parseInt(additionalParticipants) + 1; if (pricesetParticipantCount) { // add priceset count if any totalParticipants += parseInt(pricesetParticipantCount) - 1; } var isrequireApproval = ''; if (totalParticipants > availableRegistrations) { cj("#id-waitlist-msg").show(); cj("#id-waitlist-approval-msg").show(); //set the value for hidden bypass payment. cj("#bypass_payment").val(1); } else { if (isrequireApproval) { cj("#id-waitlist-approval-msg").show(); cj("#id-waitlist-msg").hide(); } else { cj("#id-waitlist-approval-msg").hide(); } //reset value since user don't want or not eligible for waitlist cj("#bypass_payment").val(0); } //now call showhide payment info. }

References   [ + ]

1, 2, 3, 4. cj("#bypass_payment").val() == 1