www.meerdemocratie.be
Open in
urlscan Pro
31.186.170.14
Public Scan
Submitted URL: https://meerdemocratie.be/sites/all/modules/civicrm/extern/url.php?u=4267&qid=5170815
Effective URL: https://www.meerdemocratie.be/civicrm/contribute/transact?reset=1&id=1
Submission: On January 04 via api from BE — Scanned from NL
Effective URL: https://www.meerdemocratie.be/civicrm/contribute/transact?reset=1&id=1
Submission: On January 04 via api from BE — Scanned from NL
Form analysis
1 forms found in the DOMName: Main — POST /civicrm/contribute/transact
<form action="/civicrm/contribute/transact" method="post" name="Main" id="Main" class="CRM_Contribute_Form_Contribution_Main" enctype="multipart/form-data" data-warn-changes="true" data-submit-once="true" novalidate="novalidate">
<div><input name="qfKey" type="hidden" value="56651a27ca2e0b84f6a1324f40f19ca0_3579">
<input name="entryURL" type="hidden" value="https://meerdemocratie.be/civicrm/contribute/transact?reset=1&amp;id=1">
<input name="hidden_processor" type="hidden" value="1">
<input name="payment_processor_id" type="hidden" value="1">
<input name="priceSetId" type="hidden" value="3">
<input id="selectProduct" name="selectProduct" type="hidden" value="">
<input name="_qf_default" type="hidden" value="Main:upload">
<input name="MAX_FILE_SIZE" type="hidden" value="209715200">
</div>
<script type="text/javascript">
// Putting these functions directly in template so they are available for standalone forms
function useAmountOther() {
var priceset = 'price_3';
for (i = 0; i < document.Main.elements.length; i++) {
element = document.Main.elements[i];
if (element.type == 'radio' && element.name == priceset) {
if (element.value == '0') {
element.click();
} else {
element.checked = false;
}
}
}
}
function clearAmountOther() {
var priceset = 0
if (priceset) {
cj(priceset).val('');
cj(priceset).blur();
}
if (document.Main.amount_other == null) return; // other_amt field not present; do nothing
document.Main.amount_other.value = "";
}
</script>
<div class="crm-contribution-page-id-1 crm-block crm-contribution-main-form-block">
<div id="intro_text" class="crm-public-form-item crm-section intro_text-section">
<p>Meer Democratie voert acties voor de invoering van bindende referenda, direct gekozen bestuurders, een eerlijker kiesstelsel en veel meer. Ons ideaal is dat de burgers altijd het laatste woord hebben als ze dat willen.</p>
<p><b>Jouw betrokkenheid is van groot belang ! </b></p>
<p><b>Doe daarom een éénmalige donatie !</b></p>
<p>Zo steun je Meer Democratie. Er is geen minimum bijdrage, ieder bedrag is welkom. Meer Democratie krijgt geen subsidie. Fondsen voor democratische vernieuwing zijn er in België nauwelijks. We moeten het hebben van mensen als u.
</p>
<p>Meer Democratie is afhankelijk van giften en donaties. Zonder jouw hulp kunnen we acties, conferenties en webinars niet realiseren. Ben jij enthousiast en wil jij: een eerlijker kiesstelsel, direct verkozen bestuurders en bindende referenda?
</p>
<p>Steun ons dan met een éénmalige donatie. Dan zorgt U dat wij snel en onafhankelijk kunnen handelen, en campagnes langer vooruit kunnen plannen. De komende generaties zullen u dankbaar zijn!</p>
<p>Hartelijk dank!</p>
<p> </p>
</div>
<div id="priceset-div">
<div id="priceset" class="crm-section price_set-section">
<div class="crm-section contribution_amount-section">
<div class="label"><label>Bedrag bijdrage</label></div>
<div class="content contribution_amount-content">
<div class="price-set-row contribution_amount-row1">
<span class="price-set-option-content"><input price="["price_3","15||"]" data-amount="15.000000000" data-currency="EUR"
data-price-field-values="{"3":{"id":"3","price_field_id":"3","name":"","amount":"15.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"4":{"id":"4","price_field_id":"3","name":"","amount":"30.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"5":{"id":"5","price_field_id":"3","name":"","amount":"80.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"6":{"id":"6","price_field_id":"3","name":"","amount":"250.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}"
visibility="1" onclick="clearAmountOther();" value="3" type="radio" id="CIVICRM_QFID_3_2" name="price_3" class="crm-form-radio"><label for="CIVICRM_QFID_3_2"><span class="crm-price-amount-label"></span><span
class="crm-price-amount-amount">€ 15</span></label></span>
</div>
<div class="price-set-row contribution_amount-row2">
<span class="price-set-option-content"><input price="["price_3","30||"]" data-amount="30.000000000" data-currency="EUR"
data-price-field-values="{"3":{"id":"3","price_field_id":"3","name":"","amount":"15.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"4":{"id":"4","price_field_id":"3","name":"","amount":"30.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"5":{"id":"5","price_field_id":"3","name":"","amount":"80.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"6":{"id":"6","price_field_id":"3","name":"","amount":"250.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}"
visibility="1" onclick="clearAmountOther();" value="4" type="radio" id="CIVICRM_QFID_4_4" name="price_3" class="crm-form-radio"><label for="CIVICRM_QFID_4_4"><span class="crm-price-amount-label"></span><span
class="crm-price-amount-amount">€ 30</span></label></span>
</div>
<div class="price-set-row contribution_amount-row3">
<span class="price-set-option-content"><input price="["price_3","80||"]" data-amount="80.000000000" data-currency="EUR"
data-price-field-values="{"3":{"id":"3","price_field_id":"3","name":"","amount":"15.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"4":{"id":"4","price_field_id":"3","name":"","amount":"30.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"5":{"id":"5","price_field_id":"3","name":"","amount":"80.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"6":{"id":"6","price_field_id":"3","name":"","amount":"250.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}"
visibility="1" onclick="clearAmountOther();" value="5" type="radio" id="CIVICRM_QFID_5_6" name="price_3" class="crm-form-radio"><label for="CIVICRM_QFID_5_6"><span class="crm-price-amount-label"></span><span
class="crm-price-amount-amount">€ 80</span></label></span>
</div>
<div class="price-set-row contribution_amount-row4">
<span class="price-set-option-content"><input price="["price_3","250||"]" data-amount="250.000000000" data-currency="EUR"
data-price-field-values="{"3":{"id":"3","price_field_id":"3","name":"","amount":"15.000000000","weight":"1","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"4":{"id":"4","price_field_id":"3","name":"","amount":"30.000000000","weight":"2","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"5":{"id":"5","price_field_id":"3","name":"","amount":"80.000000000","weight":"3","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"},"6":{"id":"6","price_field_id":"3","name":"","amount":"250.000000000","weight":"4","is_default":"0","is_active":"1","financial_type_id":"1","non_deductible_amount":"0.00","visibility_id":"1"}}"
visibility="1" onclick="clearAmountOther();" value="6" type="radio" id="CIVICRM_QFID_6_8" name="price_3" class="crm-form-radio"><label for="CIVICRM_QFID_6_8"><span class="crm-price-amount-label"></span><span
class="crm-price-amount-amount">€ 250</span></label></span>
</div>
<div class="price-set-row contribution_amount-row5">
<span class="price-set-option-content"><input price="["price_3","0"]" value="0" type="radio" id="CIVICRM_QFID_0_10" name="price_3" class="crm-form-radio"><label for="CIVICRM_QFID_0_10">Other Amount</label></span>
</div>
</div>
<div class="clear"></div>
</div>
<div class="crm-section other_amount-section">
<div class="label"><label for="price_2">Other Amount</label></div>
<div class="content other_amount-content">
<input price="[2,"1||"]" size="4" name="price_2" type="text" id="price_2" class="four crm-form-text">
</div>
<div class="clear"></div>
</div>
<div id="pricesetTotal" class="crm-section section-pricesetTotal">
<div id="pricelabel" class="label hiddenElement">
<span id="amount_sum_label">Total Amount</span>
</div>
<div class="content calc-value" style="display:none;" id="pricevalue"><b>€</b> 0,00</div>
</div>
<script type="text/javascript">
var thousandMarker = '.';
var separator = ',';
var symbol = '€';
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, ''));
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;
var totalEventFee = formatMoney(totalfee, 2, separator, thousandMarker);
document.getElementById('pricevalue').innerHTML = "<b>" + symbol + "</b> " + totalEventFee;
cj('#total_amount').val(totalfee);
cj('#pricevalue').data('raw-total', totalfee).trigger('change');
(totalfee < 0) ? cj('table#pricelabel').addClass('disabled'): 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();
}
}
//money formatting/localization
function formatMoney(amount, c, d, t) {
var n = amount,
c = isNaN(c = Math.abs(c)) ? 2 : c,
d = d == undefined ? "," : d,
t = t == undefined ? "." : t,
s = n < 0 ? "-" : "",
i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "",
j = (j = i.length) > 3 ? j % 3 : 0;
return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : "");
}
</script>
</div>
</div>
<div id="onBehalfOfOrg" class="crm-public-form-item crm-section">
<div class="crm-public-form-item" id="on-behalf-block">
</div>
<script type="text/javascript">
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) {
$('#on-behalf-block').toggle(is_for_organization.is(':checked'));
}
is_for_organization.on('change', function() {
$('#on-behalf-block').toggle($(this).is(':checked'));
});
$("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",
timeout: 5000, //Time in milliseconds
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);
}
});
}
});
</script>
</div>
<div class="crm-public-form-item crm-section cms_user-section">
</div>
<div class="crm-public-form-item crm-section premium_block-section">
</div>
<div class="crm-public-form-item crm-group custom_pre_profile-group">
<fieldset class="crm-profile crm-profile-id-14 crm-profile-name-Done_14">
<legend>Doneer</legend>
<div class="crm-section editrow_first_name-section form-item" id="editrow-first_name">
<div class="label">
<label for="first_name"> Voornaam <span class="crm-marker" title="This field is required.">*</span>
</label>
</div>
<div class="content">
<input maxlength="64" size="30" name="first_name" type="text" id="first_name" class="big crm-form-text required" aria-required="true">
</div>
<div class="clear"></div>
</div>
<div class="crm-section editrow_last_name-section form-item" id="editrow-last_name">
<div class="label">
<label for="last_name"> Achternaam <span class="crm-marker" title="This field is required.">*</span>
</label>
</div>
<div class="content">
<input maxlength="64" size="30" name="last_name" type="text" id="last_name" class="big crm-form-text required" aria-required="true">
</div>
<div class="clear"></div>
</div>
<div class="crm-section editrow_email-Primary-section form-item" id="editrow-email-Primary">
<div class="label">
<label for="email-Primary"> E-mail <span class="crm-marker" title="This field is required.">*</span>
</label>
</div>
<div class="content">
<input maxlength="254" size="30" name="email-Primary" type="text" id="email-Primary" class="big crm-form-text required" aria-required="true">
</div>
<div class="clear"></div>
</div>
<div class="crm-section editrow_street_address-Primary-section form-item" id="editrow-street_address-Primary">
<div class="label">
<label for="street_address-Primary"> Straat en huisnummer <span class="crm-marker" title="This field is required.">*</span>
</label>
</div>
<div class="content">
<input maxlength="96" size="45" name="street_address-Primary" type="text" id="street_address-Primary" class="huge crm-form-text required" aria-required="true">
</div>
<div class="clear"></div>
</div>
<div class="crm-section editrow_postal_code-Primary-section form-item" id="editrow-postal_code-Primary">
<div class="label">
<label for="postal_code-Primary"> Postcode <span class="crm-marker" title="This field is required.">*</span>
</label>
</div>
<div class="content">
<input maxlength="64" size="6" name="postal_code-Primary" type="text" id="postal_code-Primary" class="six crm-form-text required" aria-required="true">
</div>
<div class="clear"></div>
</div>
<div class="crm-section editrow_city-Primary-section form-item" id="editrow-city-Primary">
<div class="label">
<label for="city-Primary"> Plaats <span class="crm-marker" title="This field is required.">*</span>
</label>
</div>
<div class="content">
<input maxlength="64" size="30" name="city-Primary" type="text" id="city-Primary" class="big crm-form-text required" aria-required="true">
</div>
<div class="clear"></div>
</div>
<div class="crm-section editrow_phone-Primary-1-section form-item" id="editrow-phone-Primary-1">
<div class="label">
<label for="phone-Primary-1">Telefoon</label>
</div>
<div class="content">
<input maxlength="32" size="20" name="phone-Primary-1" type="text" id="phone-Primary-1" class="medium crm-form-text">
</div>
<div class="clear"></div>
</div>
</fieldset>
<script type="text/javascript">
CRM.$(function($) {
$('#selector tr:even').addClass('odd-row');
$('#selector tr:odd ').addClass('even-row');
});
</script>
</div>
<div id="billing-payment-block" style="display: none;">
<script type="text/javascript">
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}"
}
};
</script>
<div id="payment_information" style="display: none;">
</div>
<script type="text/javascript">
CRM.$(function($) {
// build list of ids to track changes on
var address_fields = {
"street_address": "Primary",
"postal_code": "Primary",
"city": "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
$('#billingcheckbox').click(function() {
if (this.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);
});
});
</script>
<script type="text/javascript" src="https://meerdemocratie.be/sites/all/modules/civicrm/templates/CRM/Core/BillingBlock.js?r=lyHTb">
</script>
</div>
<script type="text/javascript">
/**
* 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();
// 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();
// 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 isMultiple = null;
var alwaysShowFlag = (isMultiple && 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 dataUrl = "/civicrm/payment/form?formName=Main¤cy=EUR&&is_back_office=&id=1&pre_profile_id=14&processor_id=" + type;
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 + "&payment_instrument_id=" + payment_instrument_id;
// 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]').on('change.paymentBlock', function() {
buildPaymentBlock($(this).val());
});
$('#payment_instrument_id').on('change.paymentBlock', function() {
buildPaymentBlock(0);
});
$('#billing-payment-block').on('crmLoad', function() {
$('.crm-submit-buttons input').prop('disabled', false);
})
});
</script>
<div class="crm-public-form-item crm-group custom_post_profile-group">
<script type="text/javascript">
CRM.$(function($) {
$('#selector tr:even').addClass('odd-row');
$('#selector tr:odd ').addClass('even-row');
});
</script>
</div>
<div id="crm-submit-buttons" class="crm-submit-buttons">
<span class="crm-button crm-button-type-upload crm-button_qf_Main_upload crm-i-button">
<i class="crm-i fa-check"></i>
<input class="crm-form-submit default validate" crm-icon="fa-check" name="_qf_Main_upload" value="Doneer nu" type="submit" id="_qf_Main_upload-bottom">
</span>
</div>
<div id="footer_text" class="crm-public-form-item crm-section contribution_footer_text-section">
<p></p>
<p>Doet u liever zelf een overschrijving?<br> Dan kunt u storten op bankrekening BE23 5230 8007 5191 t.n.v. Meer Democratie VZW. </p>
<p>Wanneer u op 'Doneer nu' klikt, wordt u doorgestuurd naar een 100% beveiligd betalings platform, waar u onderstaande betalings mogelijkheden worden aangeboden.</p>
<p> </p>
<table align="left" border="0" cellpadding="1" cellspacing="1" style="width: 500px;">
<tbody>
<tr style="height:50px;">
<td><u><strong>Type betaling</strong></u></td>
<td><u><em>betaal opties</em></u></td>
</tr>
<tr style="height:50px;">
<td><strong>Bancontact</strong></td>
<td><em>QR code of kaart</em></td>
</tr>
<tr style="height:50px;">
<td><strong>Kredietkaart</strong></td>
<td><em>kaart</em></td>
</tr>
<tr style="height:50px;">
<td><strong>KBC/CBC-Betaalknop</strong></td>
<td><em>QR code of kaart</em></td>
</tr>
<tr style="height:50px;">
<td><strong>Belfius Pay Button</strong></td>
<td><em>QR code of kaart</em></td>
</tr>
<tr style="height:50px;">
<td><strong>ING Home'Pay</strong></td>
<td><em>QR code of kaart</em></td>
</tr>
<tr style="height:50px;">
<td><strong>PayPal</strong></td>
<td>k<em>aart of paypal account</em></td>
</tr>
</tbody>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><em><small>QR code: U heeft hier de mogelijkheid om met uw bank-app op uw telefoon een QR code te scannen en zo op een gemakkelijke manier uw betaling ter verwerken.</small></em></p>
<p><em><small>Kaart: U kan een donatie uitvoeren met behulp van uw bankkaart/kredietkaart gegenevens en uw kaartlezer.</small></em></p>
<p><em><small>Onze betalingsprovider is Stichting Mollie Payments. ( <a href="https://www.mollie.com">www.mollie.com</a> )</small></em></p>
<p><em><small>Zij zijn een payment service provider en handelen donaties en betalingen af voor een groot aantal verenigingen en internetbedrijven, waaronder ook voor Meer Democratie. <br> Als specialist in online betalen garanderen zij een
100% veilige afhandeling en verwerking van uw donatie.</small></em></p>
<p> </p>
<p></p>
</div>
</div>
<script type="text/javascript">
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 allowAutoRenew = '';
var quickConfig = 1;
if (allowAutoRenew && cj("#auto_renew") && quickConfig) {
showHideAutoRenew(null);
}
if (isRecur.val() > 0) {
cj('#recurHelp').show();
cj('#amount_sum_label').text('Regular amount');
} else {
cj('#recurHelp').hide();
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));
});
});
</script>
<script type="text/javascript">
CRM.$(function($) {
$("form.CRM_Contribute_Form_Contribution_Main").crmValidate();
});
</script>
</form>
Text Content
Overslaan en naar de inhoud gaan * Zoek * Word Donateur * Doneer éénmalig * Contact Het SQL datatype waarin dit veld wordt opgeslagen. * Home * Doel * Nieuws * Flashberichten * In de pers * Petitie * Wie * Geschiedenis * Wij zijn Meer Democratie * Expertisecentrum * Boeken * Dossiers * Modelreglementen * Kandidatenbevragingen * Video's over democratie * Steun * Doe mee * Doneer * Nieuwsbrief * Home * Doel * Nieuws * Flashberichten * Petitie * Expertisecentrum * Begin direct * Boeken * Dossiers * FAQ * Modelreglementen * Kandidatenbevragingen * Video's * Over ons * Meer Democratie in het kort * Geschiedenis * Wij zijn Meer Democratie * Doe mee * Ontvang nieuws * Word Sympathiserend Lid! * Vacatures Vrijwilligers STEUN ONS VANDAAG MET EEN ÉÉNMALIGE DONATIE! Meer Democratie voert acties voor de invoering van bindende referenda, direct gekozen bestuurders, een eerlijker kiesstelsel en veel meer. Ons ideaal is dat de burgers altijd het laatste woord hebben als ze dat willen. Jouw betrokkenheid is van groot belang ! Doe daarom een éénmalige donatie ! Zo steun je Meer Democratie. Er is geen minimum bijdrage, ieder bedrag is welkom. Meer Democratie krijgt geen subsidie. Fondsen voor democratische vernieuwing zijn er in België nauwelijks. We moeten het hebben van mensen als u. Meer Democratie is afhankelijk van giften en donaties. Zonder jouw hulp kunnen we acties, conferenties en webinars niet realiseren. Ben jij enthousiast en wil jij: een eerlijker kiesstelsel, direct verkozen bestuurders en bindende referenda? Steun ons dan met een éénmalige donatie. Dan zorgt U dat wij snel en onafhankelijk kunnen handelen, en campagnes langer vooruit kunnen plannen. De komende generaties zullen u dankbaar zijn! Hartelijk dank! Bedrag bijdrage € 15 € 30 € 80 € 250 Other Amount Other Amount Total Amount € 0,00 Doneer Voornaam * Achternaam * E-mail * Straat en huisnummer * Postcode * Plaats * Telefoon Doet u liever zelf een overschrijving? Dan kunt u storten op bankrekening BE23 5230 8007 5191 t.n.v. Meer Democratie VZW. Wanneer u op 'Doneer nu' klikt, wordt u doorgestuurd naar een 100% beveiligd betalings platform, waar u onderstaande betalings mogelijkheden worden aangeboden. Type betaling betaal opties Bancontact QR code of kaart Kredietkaart kaart KBC/CBC-Betaalknop QR code of kaart Belfius Pay Button QR code of kaart ING Home'Pay QR code of kaart PayPal kaart of paypal account QR code: U heeft hier de mogelijkheid om met uw bank-app op uw telefoon een QR code te scannen en zo op een gemakkelijke manier uw betaling ter verwerken. Kaart: U kan een donatie uitvoeren met behulp van uw bankkaart/kredietkaart gegenevens en uw kaartlezer. Onze betalingsprovider is Stichting Mollie Payments. ( www.mollie.com ) Zij zijn een payment service provider en handelen donaties en betalingen af voor een groot aantal verenigingen en internetbedrijven, waaronder ook voor Meer Democratie. Als specialist in online betalen garanderen zij een 100% veilige afhandeling en verwerking van uw donatie. THIS PAGE PAGE DOES NOT WORK PROPERLY WITHOUT JAVASCRIPT. PLEASE ENABLE JAVASCRIPT IN YOUR BROWSER empowered by CiviCRM CONTACT Meer Democratie VZW Zavelstraat 22 3212 Pellenberg (Leuven) Ondernemingsnr. 0456.119.338 info@meerdemocratie.be +32 495 68 70 06 (Bert Penninckx) BANKREKENING IBAN: BE23 5230 8007 5191 BIC: TRIOBEBB Privacybeleid en voorwaarden PARTNER Meer Democratie VZW is partnerorganisatie van Democracy International.