Bereken de score n.a.v. formulier input in procenten. Met shortcode kan de betreffende score worden weergegeven. Indien minder dan 55% procent score is, dan wordt deze altijd op 55% gezet.
Functions
add_action( 'gform_after_submission_1', 'access_entry_via_field', 10, 2 );
function access_entry_via_field( $entry, $form ) {
$kfc = 0;
$kfc_totaal = rgar( $entry, '3' );
$bk = 0;
$bk_totaal = rgar( $entry, '4' );
$sbx = 0;
$sbx_totaal = rgar( $entry, '5' );
$pfs = 0;
$pfs_totaal = rgar( $entry, '6' );
$resultaat = array();
foreach ( $form['fields'] as $field ) {
$inputs = $field->get_entry_inputs();
if ( is_array( $inputs ) ) {
foreach ( $inputs as $input ) {
$value = rgar( $entry, (string) $input['id'] );
$tags = explode('|' , $value);
if (in_array("KFC", $tags)) {
$kfc = ($kfc + 1);
}
if (in_array("BK", $tags)) {
$bk = ($bk + 1);
}
if (in_array("SBX", $tags)) {
$sbx = ($sbx + 1);
}
if (in_array("PFS", $tags)) {
$pfs = ($pfs + 1);
}
$tags_all[] = $tags;
}
}
}
$kfc_percentage = ($kfc / $kfc_totaal) * 100;
$kfc_percentage = round($kfc_percentage);
$resultaat['kfc'] = $kfc_percentage;
//echo 'KFC = '.$kfc_percentage.'%<br/>';
$bk_percentage = ($bk / $bk_totaal) * 100;
$bk_percentage = round($bk_percentage);
$resultaat['bk'] = $bk_percentage;
//echo 'BK = '.$bk_percentage.'%<br/>';
$sbx_percentage = ($sbx / $sbx_totaal) * 100;
$sbx_percentage = round($sbx_percentage);
$resultaat['sbx'] = $sbx_percentage;
//echo 'SBX = '.$sbx_percentage.'%<br/>';
$pfs_percentage = ($pfs / $pfs_totaal) * 100;
$pfs_percentage = round($pfs_percentage);
$resultaat['pfs'] = $pfs_percentage;
//echo 'PFS = '.$pfs_percentage.'%<br/>';
//echo '<pre>';
//print_r($resultaat);
$maximaal = max($resultaat);
$key = array_search($maximaal, $resultaat);
//echo "The max value is: ".$maximaal.", its key is: ".$key;
unset($resultaat[$key]);
//print_r($resultaat);
$parameters = http_build_query($resultaat,'','&');
$link = get_site_url().'/'.$key.'/?number='.$maximaal.'&'.$parameters;
//echo '</pre>';
header('Location:'.$link.'');
exit;
}
function wbmz_urlparam( $atts , $content = null ) {
$atts = shortcode_atts(
array(
'param' => '',
),
$atts,
'urlparam'
);
$param = $atts['param'];
if($_GET[$param] < '54'){
$score = '55';
} else {
$score = $_GET[$param];
}
return $score;
}
add_shortcode( 'urlparam', 'wbmz_urlparam' );
Formulier JSON
{"0":{"title":"Brands test","description":"","labelPlacement":"top_label","descriptionPlacement":"below","button":{"type":"text","text":"Versturen","imageUrl":"","width":"auto","location":"bottom","layoutGridColumnSpan":12},"fields":[{"type":"number","id":3,"formId":1,"label":"Totaal KFC","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"hidden","inputs":null,"numberFormat":"decimal_dot","description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"7","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","enableCalculation":false,"rangeMin":"","rangeMax":"","calculationFormula":"","productField":"","layoutGridColumnSpan":3,"enableEnhancedUI":0,"layoutGroupId":"938cf8c0","multipleFiles":false,"maxFiles":"","calculationRounding":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false},{"type":"number","id":4,"formId":1,"label":"Totaal BK","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"hidden","inputs":null,"numberFormat":"decimal_dot","description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"6","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","enableCalculation":false,"rangeMin":"","rangeMax":"","calculationFormula":"","productField":"","layoutGridColumnSpan":3,"enableEnhancedUI":0,"layoutGroupId":"938cf8c0","multipleFiles":false,"maxFiles":"","calculationRounding":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false},{"type":"number","id":5,"formId":1,"label":"Totaal SBK","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"hidden","inputs":null,"numberFormat":"decimal_dot","description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"6","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","enableCalculation":false,"rangeMin":"","rangeMax":"","calculationFormula":"","productField":"","layoutGridColumnSpan":3,"enableEnhancedUI":0,"layoutGroupId":"938cf8c0","multipleFiles":false,"maxFiles":"","calculationRounding":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false},{"type":"number","id":6,"formId":1,"label":"Totaal PFS","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"hidden","inputs":null,"numberFormat":"decimal_dot","description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"6","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","enableCalculation":false,"rangeMin":"","rangeMax":"","calculationFormula":"","productField":"","layoutGridColumnSpan":3,"enableEnhancedUI":0,"layoutGroupId":"938cf8c0","multipleFiles":false,"maxFiles":"","calculationRounding":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false},{"type":"checkbox","id":2,"formId":1,"label":"Ik werk graag in wisselende diensten:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"KFC|BK|SBX|PFS","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"2.1","label":"Ja","name":""},{"id":"2.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"9df6ae93","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"},{"type":"page","id":19,"formId":1,"label":"","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"nextButton":{"type":"text","text":"Volgende","imageUrl":""},"previousButton":{"type":"text","text":"Vorige","imageUrl":""},"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":"","maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableEnhancedUI":0,"layoutGroupId":"42d71f41","fields":"","personalDataExport":false,"personalDataErase":false},{"type":"checkbox","id":7,"formId":1,"label":"Ik houd van structuur in mijn werk:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"KFC","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"7.1","label":"Ja","name":""},{"id":"7.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"252a84bf","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"},{"type":"page","id":20,"formId":1,"label":"","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"nextButton":{"type":"text","text":"Volgende","imageUrl":""},"previousButton":{"type":"text","text":"Vorige","imageUrl":""},"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":"","maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableEnhancedUI":0,"layoutGroupId":"f699a7ad","fields":"","personalDataExport":false,"personalDataErase":false},{"type":"checkbox","id":8,"formId":1,"label":"Ik word graag uitgedaagd in mijn werk:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"BK|PFS","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"8.1","label":"Ja","name":""},{"id":"8.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"bdef2f66","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"},{"type":"page","id":21,"formId":1,"label":"","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"nextButton":{"type":"text","text":"Volgende","imageUrl":""},"previousButton":{"type":"text","text":"Vorige","imageUrl":""},"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":"","maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableEnhancedUI":0,"layoutGroupId":"9d4350cd","fields":"","personalDataExport":false,"personalDataErase":false},{"type":"checkbox","id":9,"formId":1,"label":"Ik kom graag in contact met gasten\/klanten:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"SBX","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"9.1","label":"Ja","name":""},{"id":"9.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"f52d5520","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"},{"type":"page","id":22,"formId":1,"label":"","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"nextButton":{"type":"text","text":"Volgende","imageUrl":""},"previousButton":{"type":"text","text":"Vorige","imageUrl":""},"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":"","maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableEnhancedUI":0,"layoutGroupId":"d46ed8ad","fields":"","personalDataExport":false,"personalDataErase":false},{"type":"checkbox","id":10,"formId":1,"label":"Ik ben stressbestendig:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"KFC|BK|SBX|PFS","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"10.1","label":"Ja","name":""},{"id":"10.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"72de643d","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"},{"type":"page","id":23,"formId":1,"label":"","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"nextButton":{"type":"text","text":"Volgende","imageUrl":"","id":23},"previousButton":{"type":"text","text":"Vorige","imageUrl":""},"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableEnhancedUI":0,"layoutGroupId":"13fae046","fields":"","personalDataExport":false,"personalDataErase":false,"multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false},{"type":"checkbox","id":11,"formId":1,"label":"Ik leer graag nieuwe dingen op mijn werk:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"BK|SBX|PFS","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"11.1","label":"Ja","name":""},{"id":"11.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"f9a9f5fd","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"},{"type":"page","id":24,"formId":1,"label":"","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"nextButton":{"type":"text","text":"Volgende","imageUrl":""},"previousButton":{"type":"text","text":"Vorige","imageUrl":""},"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":"","maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableEnhancedUI":0,"layoutGroupId":"45aad1bc","fields":"","personalDataExport":false,"personalDataErase":false},{"type":"checkbox","id":12,"formId":1,"label":"Ik werk graag zelfstandig:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"KFC","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"12.1","label":"Ja","name":""},{"id":"12.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"86264c38","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"},{"type":"page","id":25,"formId":1,"label":"","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"nextButton":{"type":"text","text":"Volgende","imageUrl":""},"previousButton":{"type":"text","text":"Vorige","imageUrl":""},"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":"","maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableEnhancedUI":0,"layoutGroupId":"2083599e","fields":"","personalDataExport":false,"personalDataErase":false},{"type":"checkbox","id":13,"formId":1,"label":"Ik werk graag in teamverband:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"BK","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"13.1","label":"Ja","name":""},{"id":"13.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"b25c9fc1","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"},{"type":"page","id":26,"formId":1,"label":"","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"nextButton":{"type":"text","text":"Volgende","imageUrl":""},"previousButton":{"type":"text","text":"Vorige","imageUrl":""},"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":"","maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableEnhancedUI":0,"layoutGroupId":"103534fe","fields":"","personalDataExport":false,"personalDataErase":false},{"type":"checkbox","id":14,"formId":1,"label":"Ik vind hygi\u00ebne belangrijk:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"KFC","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"14.1","label":"Ja","name":""},{"id":"14.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"080d6109","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"},{"type":"page","id":27,"formId":1,"label":"","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"nextButton":{"type":"text","text":"Volgende","imageUrl":""},"previousButton":{"type":"text","text":"Vorige","imageUrl":""},"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":"","maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableEnhancedUI":0,"layoutGroupId":"0bd901db","fields":"","personalDataExport":false,"personalDataErase":false},{"type":"checkbox","id":15,"formId":1,"label":"Ik wil goed worden in \u00e9\u00e9n taak:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"KFC","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"15.1","label":"Ja","name":""},{"id":"15.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"4b896896","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"},{"type":"page","id":28,"formId":1,"label":"","adminLabel":"","isRequired":false,"size":"large","errorMessage":"","visibility":"visible","inputs":null,"displayOnly":true,"nextButton":{"type":"text","text":"Volgende","imageUrl":""},"previousButton":{"type":"text","text":"Vorige","imageUrl":""},"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":"","maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","choices":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableEnhancedUI":0,"layoutGroupId":"dcef8a75","fields":"","personalDataExport":false,"personalDataErase":false},{"type":"checkbox","id":17,"formId":1,"label":"Ik vind het belangrijk om door te kunnen groeien:","adminLabel":"","isRequired":true,"size":"large","errorMessage":"","visibility":"visible","choices":[{"text":"Ja","value":"KFC|BK|SBX|PFS","isSelected":false,"price":""},{"text":"Nee","value":"GEEN","isSelected":false,"price":""}],"inputs":[{"id":"17.1","label":"Ja","name":""},{"id":"17.2","label":"Nee","name":""}],"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","enableAutocomplete":false,"autocompleteAttribute":"","conditionalLogic":"","productField":"","layoutGridColumnSpan":12,"enableSelectAll":"","enablePrice":"","enableEnhancedUI":0,"layoutGroupId":"7df090e9","multipleFiles":false,"maxFiles":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"errors":[],"enableChoiceValue":true,"fields":"","displayOnly":"","personalDataExport":false,"personalDataErase":false,"gwlimitcheckboxes_enable":true,"gwlimitcheckboxes_span_multiple_fields":false,"gwlimitcheckboxes_minimum_limit":"1","gwlimitcheckboxes_maximum_limit":"1"}],"version":"2.7.3","id":1,"markupVersion":2,"nextFieldId":30,"useCurrentUserAsAuthor":true,"postContentTemplateEnabled":false,"postTitleTemplateEnabled":false,"postTitleTemplate":"","postContentTemplate":"","lastPageButton":{"type":"text","text":"Vorige","imageUrl":""},"pagination":{"type":"percentage","pages":["","","","","","","","","","",""],"style":"blue","backgroundColor":null,"color":null,"display_progressbar_on_confirmation":false,"progressbar_completion_text":null},"firstPageCssClass":"","is_active":"1","date_created":"2023-02-01 09:40:06","is_trash":"0","personalData":{"preventIP":false,"retention":{"policy":"delete","retain_entries_days":"14"},"exportingAndErasing":{"enabled":false,"identificationField":0,"columns":{"ip":{"export":false,"erase":false},"source_url":{"export":false,"erase":false},"user_agent":{"export":false,"erase":false}}}},"confirmations":[{"id":"63da3376e31b2","name":"Standaardbevestiging","isDefault":true,"type":"message","message":"Bedankt voor je bericht! We zullen binnenkort contact met je opnemen.","url":"","pageId":"","queryString":""}],"notifications":[{"id":"63da3376e2a33","isActive":true,"to":"{admin_email}","name":"Beheerdersmelding","event":"form_submission","toType":"email","subject":"Nieuwe inzending van {form_title}","message":"{all_fields}"}]},"version":"2.7.3"}
#custom #functions #Gravity Forms #score #shortcode