Donate

The Libertarian Party of Iowa is doing work year round to set the stage for future elections and successes. Thank you for helping us champion liberty and Libertarian candidates across Iowa during this critical time!

LP Iowa Donate

// Putting these functions directly in template for historical reasons. function useAmountOther(mainPriceFieldName) { var currentFocus = CRM.$(':focus'); CRM.$('input[name=' + mainPriceFieldName + ']:radio:unchecked').each( function () { if (CRM.$(this).data('is-null-option') !== undefined) { // Triggering this click here because over in Calculate.tpl // a blur action is attached CRM.$(this).prop('checked', true).trigger('click'); } } ); // Copied from `updatePriceSetHighlight()` below which isn't available here. // @todo - consider adding this to the actions assigned in Calculate.tpl CRM.$('#priceset .price-set-row span').removeClass('highlight'); CRM.$('#priceset .price-set-row input:checked').parent().addClass('highlight'); // Return the focus we blurred earlier. currentFocus.trigger('focus'); } function clearAmountOther(otherPriceFieldName) { cj('#' + otherPriceFieldName).val('').trigger('blur'); }
Total Amount
var thousandMarker = ','; var separator = '.'; var symbol = '$'; // moneyFormat is part of a temporary fix. it should // not be expected to be present in future versions // see https://github.com/civicrm/civicrm-core/pull/19151 var moneyFormat = '$ 1,234.56'; var optionSep = '|'; // Recalculate the total fees based on user selection cj("#priceset [price]").each(function () { var elementType = cj(this).attr('type'); if (this.tagName == 'SELECT') { elementType = 'select-one'; } switch(elementType) { case 'checkbox': cj(this).click(function(){ calculateCheckboxLineItemValue(this); display(calculateTotalFee()); }); calculateCheckboxLineItemValue(this); break; case 'radio': cj(this).click( function(){ calculateRadioLineItemValue(this); display(calculateTotalFee()); }); calculateRadioLineItemValue(this); break; case 'text': cj(this).bind( 'keyup', function() { calculateText(this); }).bind( 'blur' , function() { calculateText(this); }); //default calculation of element. calculateText(this); break; case 'select-one': calculateSelectLineItemValue(this); cj(this).change(function() { calculateSelectLineItemValue(this); display(calculateTotalFee()); }); break; } display(calculateTotalFee()); }); /** * Calculate the value of the line item for a radio value. */ function calculateCheckboxLineItemValue(priceElement) { eval( 'var option = ' + cj(priceElement).attr('price') ) ; optionPart = option[1].split(optionSep); price = parseFloat(0); if (cj(priceElement).prop('checked')) { price = parseFloat(optionPart[0]); } cj(priceElement).data('line_raw_total', price); } /** * Calculate the value of the line item for a radio value. */ function calculateRadioLineItemValue(priceElement) { eval( 'var option = ' + cj(priceElement).attr('price') ); optionPart = option[1].split(optionSep); var lineTotal = parseFloat(optionPart[0]); cj(priceElement).data('line_raw_total', lineTotal); var radionGroupName = cj(priceElement).attr("name"); // Reset all unchecked options to having a data value of 0. cj('input[name=' + radionGroupName + ']:radio:unchecked').each( function () { cj(this).data('line_raw_total', 0); } ); } /** * Calculate the value of the line item for a select value. */ function calculateSelectLineItemValue(priceElement) { eval( 'var selectedText = ' + cj(priceElement).attr('price') ); var price = parseFloat('0'); var option = cj(priceElement).val(); if (option) { optionPart = selectedText[option].split(optionSep); price = parseFloat(optionPart[0]); } cj(priceElement).data('line_raw_total', price); } /** * Calculate the value of the line item for a text box. */ function calculateText(priceElement) { //CRM-16034 - comma acts as decimal in price set text pricing //CRM-19937 - dollar sign easy mistake to make by users. var textval = parseFloat(cj(priceElement).val().replace(thousandMarker, '').replace(symbol, '').replace(separator, '.')); if (isNaN(textval)) { textval = parseFloat(0); } eval('var option = '+ cj(priceElement).attr('price')); optionPart = option[1].split(optionSep); addprice = parseFloat(optionPart[0]); var curval = textval * addprice; cj(priceElement).data('line_raw_total', curval); display(calculateTotalFee()); } /** * Calculate the total fee for the visible priceset. */ function calculateTotalFee() { var totalFee = 0; cj("#priceset [price]").each(function () { totalFee = totalFee + cj(this).data('line_raw_total'); }); return totalFee; } /** * Display calculated amount. */ function display(totalfee) { // totalfee is monetary, round it to 2 decimal points so it can // go as a float - CRM-13491 totalfee = Math.round(totalfee*100)/100; // dev/core#1019 Use the moneyFormat assigned to the template as an interim fix // to support forms using a currency other that the site default. Also make sure to // support various currency formatting options, // temporary measure - pending // our preferred fix. // see https://github.com/civicrm/civicrm-core/pull/19151 var totalFormattedFee = CRM.formatMoney(totalfee, false, moneyFormat); cj('#pricevalue').html(totalFormattedFee); cj('#total_amount').val( totalfee ); cj('#pricevalue').data('raw-total', totalfee).trigger('change'); if (totalfee < 0) { cj('table#pricelabel').addClass('disabled'); } else { cj('table#pricelabel').removeClass('disabled'); } if (typeof skipPaymentMethod == 'function') { // Advice to anyone who, like me, feels hatred towards this if construct ... if you remove the if you // get an error on participant 2 of a event that requires approval & permits multiple registrants. skipPaymentMethod(); } }
CRM.$(function($) { var orgOption = $("input:radio[name=org_option]:checked").attr('id'); var onBehalfRequired = '$onBehalfRequired'; var onbehalfof_id = $('#onbehalfof_id'); var is_for_organization = $('#is_for_organization'); selectCreateOrg(orgOption, false); if (is_for_organization.length) { showHideOnBehalfOfBlock(); is_for_organization.on('change', function() { showHideOnBehalfOfBlock(); }); } function showHideOnBehalfOfBlock() { $('#on-behalf-block').toggle(is_for_organization.is(':checked')); if (is_for_organization.is(':checked')) { $('#onBehalfOfOrg select.crm-select2').removeClass('crm-no-validate'); } else { $('#onBehalfOfOrg select.crm-select2').addClass('crm-no-validate'); } } $("input:radio[name='org_option']").click( function( ) { var orgOption = $(this).attr('id'); selectCreateOrg(orgOption, true); }); onbehalfof_id.change(function() { setLocationDetails($(this).val()); }).change(); if (onbehalfof_id.length) { setLocationDetails(onbehalfof_id.val()); } function resetValues() { // Don't trip chain-select when clearing values $('.crm-chain-select-control', "#select_org div").select2('val', ''); $('input[type=text], select, textarea', "#select_org div").not('.crm-chain-select-control, #onbehalfof_id').val('').change(); $('input[type=radio], input[type=checkbox]', "#select_org div").prop('checked', false).change(); $('#on-behalf-block input').not('input[type=checkbox], input[type=radio], #onbehalfof_id').val(''); // clear checkboxes and radio $('#on-behalf-block') .find('input[type=checkbox], input[type=radio]') .not('input[name=org_option]') .attr('checked', false); } function selectCreateOrg( orgOption, reset ) { if (orgOption == 'CIVICRM_QFID_0_org_option') { $("#onbehalfof_id").show().change(); $("input#onbehalf_organization_name").hide(); } else if (orgOption == 'CIVICRM_QFID_1_org_option') { $("input#onbehalf_organization_name").show(); $("#onbehalfof_id").hide(); reset = true; } if ( reset ) { resetValues(); } } function setLocationDetails(contactID , reset) { resetValues(); var locationUrl = '' + contactID; var submittedOnBehalfInfo = ''; var submittedCID = ""; if (submittedOnBehalfInfo) { submittedOnBehalfInfo = $.parseJSON(submittedOnBehalfInfo); if (submittedCID == contactID) { $.each(submittedOnBehalfInfo, function(key, value) { //handle checkboxes if (typeof value === 'object') { $.each(value, function(k, v) { $('#onbehalf_' + key + '_' + k).prop('checked', v); }); } else if ($('#onbehalf_' + key).length) { $('#onbehalf_' + key ).val(value); } //radio buttons else if ($("input[name='onbehalf[" + key + "]']").length) { $("input[name='onbehalf[" + key + "]']").val([value]); } }); return; } } $.ajax({ url : locationUrl, dataType : "json", success : function(data, status) { for (var ele in data) { if ($("#"+ ele).hasClass('crm-chain-select-target')) { $("#"+ ele).data('newVal', data[ele].value).off('.autofill').on('crmOptionsUpdated.autofill', function() { $(this).off('.autofill').val($(this).data('newVal')).change(); }); } else if ($('#' + ele).data('select2')) { $('#' + ele).select2('val', data[ele].value); } if (data[ele].type == 'Radio') { if (data[ele].value) { var fldName = ele.replace('onbehalf_', ''); $("input[name='onbehalf["+ fldName +"]']").filter("[value='" + data[ele].value + "']").prop('checked', true); } } else if (data[ele].type == 'CheckBox') { for (var selectedOption in data[ele].value) { var fldName = ele.replace('onbehalf_', ''); $("input[name='onbehalf["+ fldName+"]["+ selectedOption +"]']").prop('checked','checked'); } } else if (data[ele].type == 'AdvMulti-Select') { var customFld = ele.replace('onbehalf_', ''); // remove empty value if any $('#onbehalf\\['+ customFld +'\\]-f option[value=""]').remove(); $('#onbehalf\\['+ customFld +'\\]-t option[value=""]').remove(); for (var selectedOption in data[ele].value) { // remove selected values from left and selected values to right $('#onbehalf\\['+ customFld +'\\]-f option[value="' + selectedOption + '"]').remove() .appendTo('#onbehalf\\['+ customFld +'\\]-t'); $('#onbehalf_'+ customFld).val(selectedOption); } } else { // do not set defaults to file type fields if ($('#' + ele).attr('type') != 'file') { $('#' + ele ).val(data[ele].value).change(); } } } }, error : function(XMLHttpRequest, textStatus, errorThrown) { CRM.console('error', "HTTP error status: ", textStatus); } }); } });
Personal Information
- select State/Province - Alabama Alaska American Samoa Arizona Arkansas Armed Forces Americas Armed Forces Europe Armed Forces Pacific California Colorado Connecticut Delaware District of Columbia Florida Georgia Guam Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Northern Mariana Islands Ohio Oklahoma Oregon Pennsylvania Puerto Rico Rhode Island South Carolina South Dakota Tennessee Texas United States Minor Outlying Islands Utah Vermont Virgin Islands Virginia Washington West Virginia Wisconsin Wyoming
Do you want to volunteer?
Please let us know why you are supporting Libertarians or provide feedback for our team
CRM.$(function($) { $('#selector tr:even').addClass('odd-row'); $('#selector tr:odd ').addClass('even-row'); });
CRM.config.creditCardTypes = {"Visa":{"label":"Visa","name":"Visa","css_key":"visa","pattern":"4(?:[0-9]{12}|[0-9]{15})"},"MasterCard":{"label":"MasterCard","name":"MasterCard","css_key":"mastercard","pattern":"(5[1-5][0-9]{2}|2[3-6][0-9]{2}|22[3-9][0-9]|222[1-9]|27[0-1][0-9]|2720)[0-9]{12}"},"Amex":{"label":"Amex","name":"Amex","css_key":"amex","pattern":"3[47][0-9]{13}"},"Discover":{"label":"Discover","name":"Discover","css_key":"discover","pattern":"6011[0-9]{12}"}}; CRM.$(function($) { $(document).ready(function() { if (typeof CRM.vars.stripe === 'undefined') { var stripe = {id:'31',currency:'USD',billingAddressID:'5',publishableKey:'pk_live_xQWHuCSdTdT970moeYq33xQv',paymentProcessorTypeID:'13',locale:'en',apiVersion:'2023-08-16',csrfToken:'1766020098.003b822364f5090c6fa323b6.fc1683d70af63242878750a849fda92de193c64d1b5f883518626967a9ab12e4',country:'',moto:'',disablelink:'0',}; CRM.vars.stripe = stripe; } }); });
CRM.$(function ($) { // build list of ids to track changes on var address_fields = {"street_address":"Primary","supplemental_address_1":"Primary","city":"Primary","state_province":"Primary"}; var input_ids = {}; var select_ids = {}; var orig_id, field, field_name; // build input ids $('.billing_name_address-section input').each(function (i) { orig_id = $(this).attr('id'); field = orig_id.split('-'); field_name = field[0].replace('billing_', ''); if (field[1]) { if (address_fields[field_name]) { input_ids['#' + field_name + '-' + address_fields[field_name]] = '#' + orig_id; } } }); if ($('#first_name').length) input_ids['#first_name'] = '#billing_first_name'; if ($('#middle_name').length) input_ids['#middle_name'] = '#billing_middle_name'; if ($('#last_name').length) input_ids['#last_name'] = '#billing_last_name'; // build select ids $('.billing_name_address-section select').each(function (i) { orig_id = $(this).attr('id'); field = orig_id.split('-'); field_name = field[0].replace('billing_', '').replace('_id', ''); if (field[1]) { if (address_fields[field_name]) { select_ids['#' + field_name + '-' + address_fields[field_name]] = '#' + orig_id; } } }); // detect if billing checkbox should default to checked var checked = true; for (var id in input_ids) { orig_id = input_ids[id]; if ($(id).val() != $(orig_id).val()) { checked = false; break; } } for (var id in select_ids) { orig_id = select_ids[id]; if ($(id).val() != $(orig_id).val()) { checked = false; break; } } if (checked) { $('#billingcheckbox').prop('checked', true).data('crm-initial-value', true); if (!CRM.billing || CRM.billing.billingProfileIsHideable) { $('.billing_name_address-group').hide(); } } // onchange handlers for non-billing fields for (var id in input_ids) { orig_id = input_ids[id]; $(id).change(function () { var id = '#' + $(this).attr('id'); var orig_id = input_ids[id]; // if billing checkbox is active, copy other field into billing field if ($('#billingcheckbox').prop('checked')) { $(orig_id).val($(id).val()); } }); } for (var id in select_ids) { orig_id = select_ids[id]; $(id).change(function () { var id = '#' + $(this).attr('id'); var orig_id = select_ids[id]; // if billing checkbox is active, copy other field into billing field if ($('#billingcheckbox').prop('checked')) { $(orig_id + ' option').prop('selected', false); $(orig_id + ' option[value="' + $(id).val() + '"]').prop('selected', true); $(orig_id).change(); } }); } // toggle show/hide var billingCheckboxElement = $('#billingcheckbox'); billingCheckboxElement.click(function() { billingCheckboxChanged(billingCheckboxElement); }); billingCheckboxElement.change(function() { billingCheckboxChanged(billingCheckboxElement); }); function billingCheckboxChanged(billingCheckbox) { if (billingCheckbox.prop('checked')) { if (!CRM.billing || CRM.billing.billingProfileIsHideable) { $('.billing_name_address-group').hide(200); } // copy all values for (var id in input_ids) { orig_id = input_ids[id]; $(orig_id).val($(id).val()); } for (var id in select_ids) { orig_id = select_ids[id]; $(orig_id + ' option').prop('selected', false); $(orig_id + ' option[value="' + $(id).val() + '"]').prop('selected', true); $(orig_id).change(); } } else { $('.billing_name_address-group').show(200); } } // remove spaces, dashes from credit card number $('#credit_card_number').change(function () { var cc = $('#credit_card_number').val() .replace(/ /g, '') .replace(/-/g, ''); $('#credit_card_number').val(cc); }); });
/** * Show or hide payment options. * * @param bool $isHide * Should the block be hidden. */ function showHidePayment(isHide) { var payment_options = cj(".payment_options-group"); var payment_processor = cj("div.payment_processor-section"); var payment_information = cj("div#payment_information"); // I've added a hide for billing block. But, actually the issue // might be that the unselecting of the processor should cause it // to be hidden (or removed) in which case it can go from this function. var billing_block = cj("div#billing-payment-block"); if (isHide) { payment_options.hide(); payment_processor.hide(); payment_information.hide(); billing_block.hide(); // Ensure that jquery validation doesn't block submission when we don't need to fill in the billing details section cj('#billing-payment-block select.crm-select2').addClass('crm-no-validate'); // also unset selected payment methods cj('input[name="payment_processor_id"]').removeProp('checked'); } else { payment_options.show(); payment_processor.show(); payment_information.show(); billing_block.show(); cj('#billing-payment-block select.crm-select2').removeClass('crm-no-validate'); // also set selected payment methods cj('input[name="payment_processor_id"][checked=checked]').prop('checked', true); } } /** * Hides or shows billing and payment options block depending on whether payment is required. * * In general incomplete orders or $0 orders do not require a payment block. */ function skipPaymentMethod() { var isHide = false; var alwaysShowFlag = (cj("#additional_participants").val()); var alwaysHideFlag = (cj("#bypass_payment").val() == 1); var total_amount_tmp = cj('#pricevalue').data('raw-total'); // Hide billing questions if this is free if (!alwaysShowFlag && total_amount_tmp == 0){ isHide = true; } else { isHide = false; } if (alwaysHideFlag) { isHide = true; } showHidePayment(isHide); } skipPaymentMethod(); CRM.$(function($) { function buildPaymentBlock(type) { var $form = $('#billing-payment-block').closest('form'); var payment_instrument_id = $('#payment_instrument_id').val(); var currency = 'USD'; currency = currency == '' ? $('#currency').val() : currency; var dataUrl = "https://lpia.org/contribute/donate/?civiwp=CiviCRM&q=civicrm%2Fpayment%2Fform&formName=Main&is_back_office=&pre_profile_id=15"; if (typeof(CRM.vars) != "undefined") { if (typeof(CRM.vars.coreForm) != "undefined") { if (typeof(CRM.vars.coreForm.contact_id) != "undefined") { dataUrl = dataUrl + "&cid=" + CRM.vars.coreForm.contact_id; } if (typeof(CRM.vars.coreForm.checksum) != "undefined" ) { dataUrl = dataUrl + "&cs=" + CRM.vars.coreForm.checksum; } } } dataUrl = dataUrl + "&processor_id=" + type + "&payment_instrument_id=" + payment_instrument_id + "&currency=" + currency; // Processors like pp-express will hide the form submit buttons, so re-show them when switching $('.crm-submit-buttons', $form).show().find('input').prop('disabled', true); CRM.loadPage(dataUrl, {target: '#billing-payment-block'}); } $('[name=payment_processor_id], #currency').on('change.paymentBlock', function() { var payment_processor_id = $('[name=payment_processor_id]:checked').val() == undefined ? $('[name=payment_processor_id]').val() : $('[name=payment_processor_id]:checked').val(); if (payment_processor_id != undefined) { buildPaymentBlock(payment_processor_id); } }); $('#payment_instrument_id').on('change.paymentBlock', function() { buildPaymentBlock(0); }); if ($('#payment_instrument_id').val()) { buildPaymentBlock(0); } $('#billing-payment-block').on('crmLoad', function() { $('.crm-submit-buttons input').prop('disabled', false); }) });

Election law requires us to use our best efforts to collect and report the name, mailing address, occupation and the name of the employer of individuals whose contributions exceed $200 in a calendar year. If you are currently not working, you may enter “Retired” or “Not Employed”. Political contributions are not tax-deductible.

Employment Information
CRM.$(function($) { $('#selector tr:even').addClass('odd-row'); $('#selector tr:odd ').addClass('even-row'); });
cj('input[name="soft_credit_type_id"]').on('change', function() { enableHonorType(); }); function enableHonorType() { var selectedValue = cj('input[name="soft_credit_type_id"]:checked'); if ( selectedValue.val() > 0) { cj('#honorType').show(); } else { cj('#honorType').hide(); } } cj('input[id="is_recur"]').on('change', function() { toggleRecur(); }); function toggleRecur() { var isRecur = cj('input[id="is_recur"]:checked'); var quickConfig = ''; if (cj("#auto_renew").length && quickConfig) { showHideAutoRenew(null); } var frequencyUnit = cj('#frequency_unit'); var frequencyInerval = cj('#frequency_interval'); var installments = cj('#installments'); isDisabled = false; if (isRecur.val() > 0) { cj('#recurHelp').show(); frequencyUnit.prop('disabled', false).addClass('required'); frequencyInerval.prop('disabled', false).addClass('required'); installments.prop('disabled', false); cj('#amount_sum_label').text('Regular Amount'); } else { cj('#recurHelp').hide(); frequencyUnit.prop('disabled', true).removeClass('required'); frequencyInerval.prop('disabled', true).removeClass('required'); installments.prop('disabled', true); cj('#amount_sum_label').text('Total Amount'); } } function pcpAnonymous() { // clear nickname field if anonymous is true if (document.getElementsByName("pcp_is_anonymous")[1].checked) { document.getElementById('pcp_roll_nickname').value = ''; } if (!document.getElementsByName("pcp_display_in_roll")[0].checked) { cj('#nickID').hide(); cj('#nameID').hide(); cj('#personalNoteID').hide(); } else { if (document.getElementsByName("pcp_is_anonymous")[0].checked) { cj('#nameID').show(); cj('#nickID').show(); cj('#personalNoteID').show(); } else { cj('#nameID').show(); cj('#nickID').hide(); cj('#personalNoteID').hide(); } } } CRM.$(function($) { enableHonorType(); toggleRecur(); skipPaymentMethod(); }); CRM.$(function($) { // highlight price sets function updatePriceSetHighlight() { $('#priceset .price-set-row span').removeClass('highlight'); $('#priceset .price-set-row input:checked').parent().addClass('highlight'); } $('#priceset input[type="radio"]').change(updatePriceSetHighlight); updatePriceSetHighlight(); // Update pledge contribution amount when pledge checkboxes change $("input[name^='pledge_amount']").on('change', function() { var total = 0; $("input[name^='pledge_amount']:checked").each(function() { total += Number($(this).attr('amount')); }); $("input[name^='price_']").val(total.toFixed(2)); }); }); CRM.$(function($) { $("form.CRM_Contribute_Form_Contribution_Main").crmValidate(); });
#pricesetTotal {display: none;} CRM.$("#price_7").focus(function() { if (CRM.$("input[name=price_3]").attr("type") == "radio") { // Removing "selected" class on the parent for radiobuttons compatibility. CRM.$("input[name=price_3]").prop("checked", false).trigger("change").parent().removeClass("selected"); // This is horrible, but required to reset the line_raw_total on the input // otherwise calculateAmount() will still think this is selected. calculateRadioLineItemValue("input[name=price_3]"); } }); CRM.$("input[name=price_3]").click(function() {CRM.$("#price_7").val("").trigger("change"); }); // Disable autocomplete/autofill CRM.$("#price_7").attr("autocomplete", "off"); // Convert to a type=number if inputmask is enabled if (typeof CRM.inputmasksNumericOnlyApply != "undefined") { CRM.inputmasksNumericOnlyApply("#price_7"); } #priceset .amount-content .price-set-row:last-child {display: none;} // From qfsessionwarning window.setTimeout(function() { Swal.fire({ icon: 'warning', text: 'Your session will expire in 5 minutes. Please submit the form, or you may lose your data.' }); }, 6900000); window.setTimeout(function() { Swal.close(); Swal.fire({ icon: 'warning', text: 'Your session has expired. Please save your data and reload the page.' }); }, 7200000);
/* lines up top of all new buttons */ #priceset.crm-section div.content { padding-top: 0px;} /* prevents various sections from overlapping or wrapping weirdly if the description includes images or divs, not a bad candidate for basic Civi css */ #crm-container.crm-public .crm-section, .crm-section { display: flow-root;} /* Styling the buttons */ #crm-container.crm-public .price-set-row .highlight label, #crm-container.crm-public .price-set-row .crm-price-amount-label, #crm-container.crm-public .price-set-row .crm-price-amount-amount { color:white; } .price-set-option-content input[type="radio"], .price-set-option-content input[type="radio"] + label, .price-set-option-content input[type="checkbox"], .price-set-option-content input[type="checkbox"] + label { float:left; width:25%; margin:6px; background-color:#000; color:white; border-radius:4px; overflow:auto; padding:15px; box-shadow: 0px 0px 3px 1px rgba(39,68,114,0.3); } /* mobile start */ @media (max-width:500px){ .price-set-option-content input[type="radio"], .price-set-option-content input[type="radio"] + label, .price-set-option-content input[type="checkbox"], .price-set-option-content input[type="checkbox"] + label { width:100%; } } /* mobile end */ /* Styling the labels */ .price-set-option-content label, .price-set-option-content label span, .price-set-option-content input[type="checkbox"] + label { text-align:center; display:block;} /* make Total Amount same size as button text */ #crm-container.crm-public .calc-value { font-size: 20px;} /* Alternate text styles for the amounts, if both labels and amounts are shown for a field (don't want everything to be large) */ .price-set-option-content input[type="radio"] + label .crm-price-amount-amount { font-size: 15px;} /* puts the normal input controls out of sight */ .price-set-option-content input[type="radio"], .price-set-option-content input[type="checkbox"], span.crm-price-amount-label-separator { position:fixed; top:-50px;} /* Style for hovered item */ .price-set-option-content input[type="radio"]:hover + label, .price-set-option-content input[type="radio"]:hover + label .crm-price-amount-amount, .price-set-option-content input[type="checkbox"]:hover + label { background-color:#ffcd00;} /* Style for selected item */ .price-set-option-content input[type="radio"]:checked + label, .price-set-option-content input[type="radio"]:checked + label .crm-price-amount-amount, .price-set-option-content input[type="checkbox"]:checked + label { background-color:#ffcd00; color:#222222 !important; } .crm-price-amount-help-post.description { font-style: italic; font-weight: 300; font-size: 12px; color: white; } /* put please renew my membership automatically on own line */ .crm-section.auto-renew { clear: both; } /* contribution progress thermometer on contribution page */ .crm-contribute-widget { background: transparent; } .crm-contribute-widget .crm-amount-fill{background-color:#ffcd00;} /* remove references to personal campaign page */ .crm-public-form-item.crm-section.pcpSupporterText-section .content, .crm-public-form-item.crm-section.pcpSupporterText-section .label { display:none; } img.lp-pcp-person { border-radius: 50%; width:250px; height:250px; } .messages.status.no-popup.error { display: none; } /* hide none option when field is optional */ .crm-section.amount-section .price-set-row:last-child { display: none; } /* processing fee */ .price-set-row.pay_processing_fee-row1 span.price-set-option-content label, div.price-set-row.pay_processing_fee_3_-row1 span.price-set-option-content label { width: auto; font-size:12px; padding:10px; } /* style total amount */ #percentagepricesetfield_pricevalue { font-weight: bold; } /* remove colon from price set option */ .crm-price-amount-help-post-separator { display: none !important; } /* premiums */ @media (max-width:500px){ #crm-container.crm-public #premiums-listings { width:100%; min-width: auto; } #crm-container.crm-public #premiums-listings .premium .premium-full .premium-full-title {clear:both;} #crm-container.crm-public #premiums-listings .premium .premium-full .premium-full-image img {width:100%;} #crm-container.crm-public #premiums-listings .premium .premium-full .premium-full-image {width:100%;} } /* end of premium mobile */ #crm-container.crm-public #premiums-listings .premium .premium-full {background-color: #ffcd00;} .premium-short-thumbnail img, .premium-full-image img { border-radius: 5px; } .premium-full-description { text-align: center; font-size:15px; } #crm-container.crm-public #premiums-listings .premium.premium-disabled .premium-full-disabled {color:inherit;} /* Stripe Card element */ #card-element { background-color:#fff; padding:3%; } #editrow-do_not_trade {display:none !important;} var limit = 3; CRM.$("[name^='custom_339']").on('change', function(evt) { if(CRM.$("[name^='custom_339']:checked").length > limit) { CRM.$(this).prop('checked', false) alert("Select your top 3 issues only"); } }); CRM.$("#editrow-custom_340").hide(); CRM.$("#custom_339_13").change(function () { CRM.$("#editrow-custom_340").toggle(); }); // BEGIN CODE BY allen@joineryhq.com, 2020-11-02 if (CRM.$('input[name="priceSetId"]').val() == 140) { var errorMessagePriceSet140 = 'Annual membership dues are a minimum of $25. If you would like to make a donation instead, go to LP.org/donate'; var submit140handler = function submit140handler(event) { if ( (CRM.$('input:radio[name="is_recur_radio"]:checked').val() != 'month') && (CRM.$('input:radio[name="price_343"]:visible:checked').length == 0) && (CRM.$('input#price_344').val() < 25) ) { alert(errorMessagePriceSet140); event.stopImmediatePropagation(); return false; } } CRM.$('form#Main input:submit').on('click', submit140handler); } // END CODE BY allen@joineryhq.com, 2020-11-02 /* word replacement on option label for member pledge field */ if ( CRM.$( "#editrow-custom_144.crm-section.editrow_custom_144-section.form-item div.content label" ).length ) { CRM.$("#editrow-custom_144.crm-section.editrow_custom_144-section.form-item div.content label").html(CRM.$("#editrow-custom_144.crm-section.editrow_custom_144-section.form-item div.content label").html().replace("Signed Pledge", "YES, sign me up as a member. To validate my membership, I certify that I oppose the initiation of force to achieve political or social goals.")); }

By Check
Use this form if you would like to mail-in a donation.

All checks should be made payable to “Libertarian Party of Iowa” and mailed to:

Libertarian Party of Iowa
PO Box 480
Des Moines, IA 50302

Scroll to Top