function applyDropdown() {
// GET FORM REFERENCE
var form = Fabrik.getBlock('form_59');
if (form.formElements.get('gprh_fabrik_user_registration_332_repeat___type_finance_entree').getValue() != '') {
form.mockSubmit('apply');
}
};
function applyDate() {
// GET FORM REFERENCE
var form = Fabrik.getBlock('form_59');
if (form.formElements.get('gprh_fabrik_user_registration_332_repeat___date_envoi_facture_fe').getValue() != '' || form.formElements.get('gprh_fabrik_user_registration_332_repeat___date_envoi_facture_fe').getValue() == '0000-00-00 00:00:00') {
form.mockSubmit('apply');
}
};