{"id":1063,"date":"2024-05-23T21:31:56","date_gmt":"2024-05-23T21:31:56","guid":{"rendered":"https:\/\/brusselsfamily-staging.springbok.agency\/kinderbijslag-berekenen\/"},"modified":"2026-03-03T13:41:59","modified_gmt":"2026-03-03T13:41:59","slug":"child-benefit-calculator","status":"publish","type":"page","link":"https:\/\/www.staging.brusselsfamily.springbok.agency\/en\/child-benefit-calculator\/","title":{"rendered":"Child benefit calculator"},"content":{"rendered":"<div class=\"lazyblock-bf-kinderbijslag-calculator-Z1fOAv6 wp-block-lazyblock-bf-kinderbijslag-calculator\"><link rel=\"stylesheet\" type=\"text\/css\" href=\"\/wp-content\/themes\/brusselsfamily\/blocks\/forms-css\/style.css\">\n<div id=\"bfc_kinder\" class=\"overview-forms\">\n    <form method=\"post\" class=\"autoContainer\">\n        <!-- First Step -->\n        <fieldset id=\"family_info\" name=\"family\" class=\"active\">\n                <button class=\"burger backLink\" id=\"backLink\">\n                    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\n                    <path d=\"M7.8248 13L12.7248 17.9C12.9248 18.1 13.0206 18.3334 13.0123 18.6C13.004 18.8667 12.8998 19.1 12.6998 19.3C12.4998 19.4834 12.2665 19.5792 11.9998 19.5875C11.7331 19.5959 11.4998 19.5 11.2998 19.3L4.6998 12.7C4.5998 12.6 4.52897 12.4917 4.4873 12.375C4.44564 12.2584 4.4248 12.1334 4.4248 12C4.4248 11.8667 4.44564 11.7417 4.4873 11.625C4.52897 11.5084 4.5998 11.4 4.6998 11.3L11.2998 4.70005C11.4831 4.51672 11.7123 4.42505 11.9873 4.42505C12.2623 4.42505 12.4998 4.51672 12.6998 4.70005C12.8998 4.90005 12.9998 5.13755 12.9998 5.41255C12.9998 5.68755 12.8998 5.92505 12.6998 6.12505L7.8248 11H18.9998C19.2831 11 19.5206 11.0959 19.7123 11.2875C19.904 11.4792 19.9998 11.7167 19.9998 12C19.9998 12.2834 19.904 12.5209 19.7123 12.7125C19.5206 12.9042 19.2831 13 18.9998 13H7.8248Z\" fill=\"#00256E\"\/>\n                    <\/svg>\n                <\/button>\n               <span style=\"width: 33.3%\" class=\"progress-bar\"><\/span>\n                <div class=\"grid-title\">\n                                           <img decoding=\"async\" src=\"https:\/\/www.staging.brusselsfamily.springbok.agency\/wp-content\/uploads\/2024\/05\/overview-image.png\" alt=\"Forms\" \/>\n                                                                                           <h1 style=\"text-align: center\">What is your annual gross family income?<\/h1>\n<p style=\"text-align: center\">My annual gross taxable family income is<\/p>                                            <br \/>\n                <\/div>\n\n                <div class=\"padding-top\" tabindex=\"-1\">\n                    <!---- Content Start ---->\n                    <fieldset name=\"income\">\n                        <input type=\"radio\" id=\"family-income-less\" name=\"family[income]\" value=\"less\" required=\"\" \/>\n                        <label for=\"family-income-less\" class=\"radio_btn\">Less than \u20ac 40.586,52<\/label>\n\n                        <input type=\"radio\" id=\"family-income-between\" name=\"family[income]\" value=\"between\" required=\"\" \/>\n                        <label for=\"family-income-between\" class=\"radio_btn\">Between \u20ac 40.586,52 and \u20ac 58.915,92<\/label>\n\n                        <input type=\"radio\" id=\"family-income-more\" name=\"family[income]\" value=\"more\" required=\"\" \/>\n                        <label for=\"family-income-more\" class=\"radio_btn\">More than \u20ac 58.915,92<\/label>\n                        <div class=\"error\" id=\"family_error\">Chose one of the options<\/div>\n                    <\/fieldset><br>\n\n                    <hr class=\"child-divider\" \/>\n\n                    <fieldset name=\"situation\">\n                        <legend>I am:<\/legend>\n                        <br \/>\n                        <input type=\"radio\" id=\"family-situation-single\" name=\"family[situation]\" value=\"single\" required=\"\" \/>\n                        <label for=\"family-situation-single\" class=\"radio_btn\">Single<\/label>\n\n                        <input type=\"radio\" id=\"family-situation-other\" name=\"family[situation]\" value=\"other\" required=\"\" \/>\n                        <label for=\"family-situation-other\" class=\"radio_btn\">Co-habiting or other family type<\/label>\n                        <div class=\"error\" id=\"income_error\">Chose one of the options<\/div>\n                    <\/fieldset>\n                                        <button type=\"button\" id=\"step_1\" data-fieldset-target=\"children\" class=\"next_btn button button--primary _ico\">\n                    Next step                        <span class=\"ico\">\n                            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\n                                <path\n                                    d=\"M16.175 13H5C4.71667 13 4.47917 12.9042 4.2875 12.7125C4.09583 12.5208 4 12.2833 4 12C4 11.7167 4.09583 11.4792 4.2875 11.2875C4.47917 11.0958 4.71667 11 5 11H16.175L11.275 6.1C11.075 5.9 10.9792 5.66667 10.9875 5.4C10.9958 5.13334 11.1 4.9 11.3 4.7C11.5 4.51667 11.7333 4.42084 12 4.4125C12.2667 4.40417 12.5 4.5 12.7 4.7L19.3 11.3C19.4 11.4 19.4708 11.5083 19.5125 11.625C19.5542 11.7417 19.575 11.8667 19.575 12C19.575 12.1333 19.5542 12.2583 19.5125 12.375C19.4708 12.4917 19.4 12.6 19.3 12.7L12.7 19.3C12.5167 19.4833 12.2875 19.575 12.0125 19.575C11.7375 19.575 11.5 19.4833 11.3 19.3C11.1 19.1 11 18.8625 11 18.5875C11 18.3125 11.1 18.075 11.3 17.875L16.175 13Z\"\n                                    fill=\"white\"\n                                \/>\n                            <\/svg>\n                        <\/span>\n                    <\/button>\n                <\/div>\n        <\/fieldset>\n\n        <!-- Second Step -->\n      <fieldset id=\"kind_info\" name=\"children\">\n        <button class=\"burger backLink\" id=\"terug\">\n            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\n              <path d=\"M7.8248 13L12.7248 17.9C12.9248 18.1 13.0206 18.3334 13.0123 18.6C13.004 18.8667 12.8998 19.1 12.6998 19.3C12.4998 19.4834 12.2665 19.5792 11.9998 19.5875C11.7331 19.5959 11.4998 19.5 11.2998 19.3L4.6998 12.7C4.5998 12.6 4.52897 12.4917 4.4873 12.375C4.44564 12.2584 4.4248 12.1334 4.4248 12C4.4248 11.8667 4.44564 11.7417 4.4873 11.625C4.52897 11.5084 4.5998 11.4 4.6998 11.3L11.2998 4.70005C11.4831 4.51672 11.7123 4.42505 11.9873 4.42505C12.2623 4.42505 12.4998 4.51672 12.6998 4.70005C12.8998 4.90005 12.9998 5.13755 12.9998 5.41255C12.9998 5.68755 12.8998 5.92505 12.6998 6.12505L7.8248 11H18.9998C19.2831 11 19.5206 11.0959 19.7123 11.2875C19.904 11.4792 19.9998 11.7167 19.9998 12C19.9998 12.2834 19.904 12.5209 19.7123 12.7125C19.5206 12.9042 19.2831 13 18.9998 13H7.8248Z\" fill=\"#00256E\"\/>\n            <\/svg>\n        <\/button>\n        <span style=\"width: 66.6%\" class=\"progress-bar\"><\/span>\n            <div id=\"second-section\">\n                <!---- Content Start ---->\n                <div class=\"grid-title\">\n                                       <img decoding=\"async\" src=\"https:\/\/www.staging.brusselsfamily.springbok.agency\/wp-content\/uploads\/2024\/05\/overview-image.png\" alt=\"Forms\" \/>\n                                                                                     <h2 style=\"text-align: center\">What are your details?<\/h2>                                            <\/div>\n\n                                    <fieldset name=\"children0\" >\n                        <label for=\"family-children-0-name\">Child name*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-0-name\" name=\"family[children][0][name]\" oninvalid=\"this.setCustomValidity('This is a mandatory field')\" onchange=\"this.setCustomValidity('')\" required placeholder=\"Your first name\">\n                        <\/div>\n                        <label for=\"family-children-0-dob\">(Estimated) Date of Birth*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-0-dob\" name=\"family[children][0][dob_formatted]\" autocomplete=\"off\" class=\"date_new\" data-date-format=\"dd\/mm\/yyyy\" placeholder=\"__\/__\/____\" maxlength=\"10\" oninvalid=\"this.setCustomValidity('Enter a valid estimated date of birth')\" onchange=\"this.setCustomValidity('')\" required>\n                        <\/div>\n                        <input type=\"hidden\" name=\"family[children][0][education]\" value=\"0\">\n                        <fieldset name=\"education0\" class=\"hogere_hidden margin-top\">\n                            <input type=\"checkbox\" id=\"family-children-0-education\" name=\"family[children][0][education]\" value=\"enrolled-higher-education\">\n                            <label for=\"family-children-0-education\">Enrolled in higher education<\/label>\n                        <\/fieldset>\n                        <div class=\"weeskind margin-top\">\n                          <input type=\"hidden\" name=\"family[children][0][orphan]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-0-orphan\" name=\"family[children][0][orphan]\" value=\"1\" data-fieldset-target=\"orphan0\">\n                          <label for=\"family-children-0-orphan\">My child is an orphan<\/label>\n\n                          <fieldset name=\"orphan0\" class=\"weeskind_hidden margin-top\" disabled>\n                              <legend class=\"width_lg\">Because this child is a (half) orphan, you are entitled to an extra allowance. The amount depends on the situation:<\/legend>\n                              <label><\/label>\n                              <input type=\"radio\" id=\"family-children-0-orphan-one\" name=\"family[children][0][orphan]\" value=\"one\" required>\n                              <label for=\"family-children-0-orphan-one\" class=\"radio_btn\">One of the parents has passed away<\/label><br>\n\n                              <input type=\"radio\" id=\"family-children-0-orphan-both\" name=\"family[children][0][orphan]\" value=\"both\" required>\n                              <label for=\"family-children-0-orphan-both\" class=\"radio_btn\">Both parents has passed away<\/label>\n                              <div class=\"error\" id=\"weeskind_error-0\">Chose one of these options<\/div>\n                          <\/fieldset>\n                        <\/div>\n\n                        <div class=\"margin-top\">\n                          <input type=\"hidden\" name=\"family[children][0][disability]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-0-disability\" name=\"family[children][0][disability]\" value=\"1\" data-fieldset-target=\"disability0\">\n                          <label for=\"family-children-0-disability\">My child has a disability\/condition<\/label>\n                        <\/div>\n                        <fieldset name=\"disability0\" class=\"beperking_hidden margin-top\" disabled>\n                          <legend class=\"width_lg\">Children with specific support needs receive a care allowance in addition to the basic amount to ease the financial burden of care. The amount depends on your situation. My child has:<\/legend>\n                            <label>Disability\/Handicap<\/label>\n                              <div class=\"chevron\">\n                              <select id=\"family-children-0-disability-select\" name=\"family[children][0][disability]\" oninvalid=\"this.setCustomValidity('Please fill this in')\" onchange=\"this.setCustomValidity('')\" required=\"\">\n                                <option value=\"\" selected=\"\" disabled=\"\">Make a choice<\/option>\n<option value=\"a\">At least 4 points in the 1st pillar and less than 6 points across the three pillars<\/option>\n<option value=\"b\">6 \u2013 8 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"c\">6 \u2013 8 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"d\">9 \u2013 11 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"e\">9 \u2013 11 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"f\">12 \u2013 14 points across the three pillars<\/option>\n<option value=\"g\">15 \u2013 17 points across the three pillars<\/option>\n<option value=\"h\">18 \u2013 20 points across the three pillars<\/option>\n<option value=\"i\">+20 points across the three pillars<\/option>                              <\/select>\n                              <\/div>\n                        <\/fieldset>\n\n                        <button type=\"button\" class=\"remove_child\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"0\" disabled>\n                         Remove a child                        <\/button>\n\n                        <hr class=\"child-divider\">\n\n                        <button type=\"button\" class=\"add_child button button--border\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"1\" >\n                        Add another child                        <\/button>\n                    <\/fieldset>\n                                    <fieldset name=\"children1\" disabled>\n                        <label for=\"family-children-1-name\">Child name*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-1-name\" name=\"family[children][1][name]\" oninvalid=\"this.setCustomValidity('This is a mandatory field')\" onchange=\"this.setCustomValidity('')\" required placeholder=\"Your first name\">\n                        <\/div>\n                        <label for=\"family-children-1-dob\">(Estimated) Date of Birth*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-1-dob\" name=\"family[children][1][dob_formatted]\" autocomplete=\"off\" class=\"date_new\" data-date-format=\"dd\/mm\/yyyy\" placeholder=\"__\/__\/____\" maxlength=\"10\" oninvalid=\"this.setCustomValidity('Enter a valid estimated date of birth')\" onchange=\"this.setCustomValidity('')\" required>\n                        <\/div>\n                        <input type=\"hidden\" name=\"family[children][1][education]\" value=\"0\">\n                        <fieldset name=\"education1\" class=\"hogere_hidden margin-top\">\n                            <input type=\"checkbox\" id=\"family-children-1-education\" name=\"family[children][1][education]\" value=\"enrolled-higher-education\">\n                            <label for=\"family-children-1-education\">Enrolled in higher education<\/label>\n                        <\/fieldset>\n                        <div class=\"weeskind margin-top\">\n                          <input type=\"hidden\" name=\"family[children][1][orphan]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-1-orphan\" name=\"family[children][1][orphan]\" value=\"1\" data-fieldset-target=\"orphan1\">\n                          <label for=\"family-children-1-orphan\">My child is an orphan<\/label>\n\n                          <fieldset name=\"orphan1\" class=\"weeskind_hidden margin-top\" disabled>\n                              <legend class=\"width_lg\">Because this child is a (half) orphan, you are entitled to an extra allowance. The amount depends on the situation:<\/legend>\n                              <label><\/label>\n                              <input type=\"radio\" id=\"family-children-1-orphan-one\" name=\"family[children][1][orphan]\" value=\"one\" required>\n                              <label for=\"family-children-1-orphan-one\" class=\"radio_btn\">One of the parents has passed away<\/label><br>\n\n                              <input type=\"radio\" id=\"family-children-1-orphan-both\" name=\"family[children][1][orphan]\" value=\"both\" required>\n                              <label for=\"family-children-1-orphan-both\" class=\"radio_btn\">Both parents has passed away<\/label>\n                              <div class=\"error\" id=\"weeskind_error-1\">Chose one of these options<\/div>\n                          <\/fieldset>\n                        <\/div>\n\n                        <div class=\"margin-top\">\n                          <input type=\"hidden\" name=\"family[children][1][disability]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-1-disability\" name=\"family[children][1][disability]\" value=\"1\" data-fieldset-target=\"disability1\">\n                          <label for=\"family-children-1-disability\">My child has a disability\/condition<\/label>\n                        <\/div>\n                        <fieldset name=\"disability1\" class=\"beperking_hidden margin-top\" disabled>\n                          <legend class=\"width_lg\">Children with specific support needs receive a care allowance in addition to the basic amount to ease the financial burden of care. The amount depends on your situation. My child has:<\/legend>\n                            <label>Disability\/Handicap<\/label>\n                              <div class=\"chevron\">\n                              <select id=\"family-children-0-disability-select\" name=\"family[children][0][disability]\" oninvalid=\"this.setCustomValidity('Please fill this in')\" onchange=\"this.setCustomValidity('')\" required=\"\">\n                                <option value=\"\" selected=\"\" disabled=\"\">Make a choice<\/option>\n<option value=\"a\">At least 4 points in the 1st pillar and less than 6 points across the three pillars<\/option>\n<option value=\"b\">6 \u2013 8 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"c\">6 \u2013 8 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"d\">9 \u2013 11 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"e\">9 \u2013 11 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"f\">12 \u2013 14 points across the three pillars<\/option>\n<option value=\"g\">15 \u2013 17 points across the three pillars<\/option>\n<option value=\"h\">18 \u2013 20 points across the three pillars<\/option>\n<option value=\"i\">+20 points across the three pillars<\/option>                              <\/select>\n                              <\/div>\n                        <\/fieldset>\n\n                        <button type=\"button\" class=\"remove_child\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"1\" >\n                         Remove a child                        <\/button>\n\n                        <hr class=\"child-divider\">\n\n                        <button type=\"button\" class=\"add_child button button--border\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"2\" >\n                        Add another child                        <\/button>\n                    <\/fieldset>\n                                    <fieldset name=\"children2\" disabled>\n                        <label for=\"family-children-2-name\">Child name*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-2-name\" name=\"family[children][2][name]\" oninvalid=\"this.setCustomValidity('This is a mandatory field')\" onchange=\"this.setCustomValidity('')\" required placeholder=\"Your first name\">\n                        <\/div>\n                        <label for=\"family-children-2-dob\">(Estimated) Date of Birth*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-2-dob\" name=\"family[children][2][dob_formatted]\" autocomplete=\"off\" class=\"date_new\" data-date-format=\"dd\/mm\/yyyy\" placeholder=\"__\/__\/____\" maxlength=\"10\" oninvalid=\"this.setCustomValidity('Enter a valid estimated date of birth')\" onchange=\"this.setCustomValidity('')\" required>\n                        <\/div>\n                        <input type=\"hidden\" name=\"family[children][2][education]\" value=\"0\">\n                        <fieldset name=\"education2\" class=\"hogere_hidden margin-top\">\n                            <input type=\"checkbox\" id=\"family-children-2-education\" name=\"family[children][2][education]\" value=\"enrolled-higher-education\">\n                            <label for=\"family-children-2-education\">Enrolled in higher education<\/label>\n                        <\/fieldset>\n                        <div class=\"weeskind margin-top\">\n                          <input type=\"hidden\" name=\"family[children][2][orphan]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-2-orphan\" name=\"family[children][2][orphan]\" value=\"1\" data-fieldset-target=\"orphan2\">\n                          <label for=\"family-children-2-orphan\">My child is an orphan<\/label>\n\n                          <fieldset name=\"orphan2\" class=\"weeskind_hidden margin-top\" disabled>\n                              <legend class=\"width_lg\">Because this child is a (half) orphan, you are entitled to an extra allowance. The amount depends on the situation:<\/legend>\n                              <label><\/label>\n                              <input type=\"radio\" id=\"family-children-2-orphan-one\" name=\"family[children][2][orphan]\" value=\"one\" required>\n                              <label for=\"family-children-2-orphan-one\" class=\"radio_btn\">One of the parents has passed away<\/label><br>\n\n                              <input type=\"radio\" id=\"family-children-2-orphan-both\" name=\"family[children][2][orphan]\" value=\"both\" required>\n                              <label for=\"family-children-2-orphan-both\" class=\"radio_btn\">Both parents has passed away<\/label>\n                              <div class=\"error\" id=\"weeskind_error-2\">Chose one of these options<\/div>\n                          <\/fieldset>\n                        <\/div>\n\n                        <div class=\"margin-top\">\n                          <input type=\"hidden\" name=\"family[children][2][disability]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-2-disability\" name=\"family[children][2][disability]\" value=\"1\" data-fieldset-target=\"disability2\">\n                          <label for=\"family-children-2-disability\">My child has a disability\/condition<\/label>\n                        <\/div>\n                        <fieldset name=\"disability2\" class=\"beperking_hidden margin-top\" disabled>\n                          <legend class=\"width_lg\">Children with specific support needs receive a care allowance in addition to the basic amount to ease the financial burden of care. The amount depends on your situation. My child has:<\/legend>\n                            <label>Disability\/Handicap<\/label>\n                              <div class=\"chevron\">\n                              <select id=\"family-children-0-disability-select\" name=\"family[children][0][disability]\" oninvalid=\"this.setCustomValidity('Please fill this in')\" onchange=\"this.setCustomValidity('')\" required=\"\">\n                                <option value=\"\" selected=\"\" disabled=\"\">Make a choice<\/option>\n<option value=\"a\">At least 4 points in the 1st pillar and less than 6 points across the three pillars<\/option>\n<option value=\"b\">6 \u2013 8 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"c\">6 \u2013 8 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"d\">9 \u2013 11 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"e\">9 \u2013 11 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"f\">12 \u2013 14 points across the three pillars<\/option>\n<option value=\"g\">15 \u2013 17 points across the three pillars<\/option>\n<option value=\"h\">18 \u2013 20 points across the three pillars<\/option>\n<option value=\"i\">+20 points across the three pillars<\/option>                              <\/select>\n                              <\/div>\n                        <\/fieldset>\n\n                        <button type=\"button\" class=\"remove_child\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"2\" >\n                         Remove a child                        <\/button>\n\n                        <hr class=\"child-divider\">\n\n                        <button type=\"button\" class=\"add_child button button--border\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"3\" >\n                        Add another child                        <\/button>\n                    <\/fieldset>\n                                    <fieldset name=\"children3\" disabled>\n                        <label for=\"family-children-3-name\">Child name*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-3-name\" name=\"family[children][3][name]\" oninvalid=\"this.setCustomValidity('This is a mandatory field')\" onchange=\"this.setCustomValidity('')\" required placeholder=\"Your first name\">\n                        <\/div>\n                        <label for=\"family-children-3-dob\">(Estimated) Date of Birth*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-3-dob\" name=\"family[children][3][dob_formatted]\" autocomplete=\"off\" class=\"date_new\" data-date-format=\"dd\/mm\/yyyy\" placeholder=\"__\/__\/____\" maxlength=\"10\" oninvalid=\"this.setCustomValidity('Enter a valid estimated date of birth')\" onchange=\"this.setCustomValidity('')\" required>\n                        <\/div>\n                        <input type=\"hidden\" name=\"family[children][3][education]\" value=\"0\">\n                        <fieldset name=\"education3\" class=\"hogere_hidden margin-top\">\n                            <input type=\"checkbox\" id=\"family-children-3-education\" name=\"family[children][3][education]\" value=\"enrolled-higher-education\">\n                            <label for=\"family-children-3-education\">Enrolled in higher education<\/label>\n                        <\/fieldset>\n                        <div class=\"weeskind margin-top\">\n                          <input type=\"hidden\" name=\"family[children][3][orphan]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-3-orphan\" name=\"family[children][3][orphan]\" value=\"1\" data-fieldset-target=\"orphan3\">\n                          <label for=\"family-children-3-orphan\">My child is an orphan<\/label>\n\n                          <fieldset name=\"orphan3\" class=\"weeskind_hidden margin-top\" disabled>\n                              <legend class=\"width_lg\">Because this child is a (half) orphan, you are entitled to an extra allowance. The amount depends on the situation:<\/legend>\n                              <label><\/label>\n                              <input type=\"radio\" id=\"family-children-3-orphan-one\" name=\"family[children][3][orphan]\" value=\"one\" required>\n                              <label for=\"family-children-3-orphan-one\" class=\"radio_btn\">One of the parents has passed away<\/label><br>\n\n                              <input type=\"radio\" id=\"family-children-3-orphan-both\" name=\"family[children][3][orphan]\" value=\"both\" required>\n                              <label for=\"family-children-3-orphan-both\" class=\"radio_btn\">Both parents has passed away<\/label>\n                              <div class=\"error\" id=\"weeskind_error-3\">Chose one of these options<\/div>\n                          <\/fieldset>\n                        <\/div>\n\n                        <div class=\"margin-top\">\n                          <input type=\"hidden\" name=\"family[children][3][disability]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-3-disability\" name=\"family[children][3][disability]\" value=\"1\" data-fieldset-target=\"disability3\">\n                          <label for=\"family-children-3-disability\">My child has a disability\/condition<\/label>\n                        <\/div>\n                        <fieldset name=\"disability3\" class=\"beperking_hidden margin-top\" disabled>\n                          <legend class=\"width_lg\">Children with specific support needs receive a care allowance in addition to the basic amount to ease the financial burden of care. The amount depends on your situation. My child has:<\/legend>\n                            <label>Disability\/Handicap<\/label>\n                              <div class=\"chevron\">\n                              <select id=\"family-children-0-disability-select\" name=\"family[children][0][disability]\" oninvalid=\"this.setCustomValidity('Please fill this in')\" onchange=\"this.setCustomValidity('')\" required=\"\">\n                                <option value=\"\" selected=\"\" disabled=\"\">Make a choice<\/option>\n<option value=\"a\">At least 4 points in the 1st pillar and less than 6 points across the three pillars<\/option>\n<option value=\"b\">6 \u2013 8 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"c\">6 \u2013 8 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"d\">9 \u2013 11 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"e\">9 \u2013 11 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"f\">12 \u2013 14 points across the three pillars<\/option>\n<option value=\"g\">15 \u2013 17 points across the three pillars<\/option>\n<option value=\"h\">18 \u2013 20 points across the three pillars<\/option>\n<option value=\"i\">+20 points across the three pillars<\/option>                              <\/select>\n                              <\/div>\n                        <\/fieldset>\n\n                        <button type=\"button\" class=\"remove_child\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"3\" >\n                         Remove a child                        <\/button>\n\n                        <hr class=\"child-divider\">\n\n                        <button type=\"button\" class=\"add_child button button--border\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"4\" >\n                        Add another child                        <\/button>\n                    <\/fieldset>\n                                    <fieldset name=\"children4\" disabled>\n                        <label for=\"family-children-4-name\">Child name*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-4-name\" name=\"family[children][4][name]\" oninvalid=\"this.setCustomValidity('This is a mandatory field')\" onchange=\"this.setCustomValidity('')\" required placeholder=\"Your first name\">\n                        <\/div>\n                        <label for=\"family-children-4-dob\">(Estimated) Date of Birth*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-4-dob\" name=\"family[children][4][dob_formatted]\" autocomplete=\"off\" class=\"date_new\" data-date-format=\"dd\/mm\/yyyy\" placeholder=\"__\/__\/____\" maxlength=\"10\" oninvalid=\"this.setCustomValidity('Enter a valid estimated date of birth')\" onchange=\"this.setCustomValidity('')\" required>\n                        <\/div>\n                        <input type=\"hidden\" name=\"family[children][4][education]\" value=\"0\">\n                        <fieldset name=\"education4\" class=\"hogere_hidden margin-top\">\n                            <input type=\"checkbox\" id=\"family-children-4-education\" name=\"family[children][4][education]\" value=\"enrolled-higher-education\">\n                            <label for=\"family-children-4-education\">Enrolled in higher education<\/label>\n                        <\/fieldset>\n                        <div class=\"weeskind margin-top\">\n                          <input type=\"hidden\" name=\"family[children][4][orphan]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-4-orphan\" name=\"family[children][4][orphan]\" value=\"1\" data-fieldset-target=\"orphan4\">\n                          <label for=\"family-children-4-orphan\">My child is an orphan<\/label>\n\n                          <fieldset name=\"orphan4\" class=\"weeskind_hidden margin-top\" disabled>\n                              <legend class=\"width_lg\">Because this child is a (half) orphan, you are entitled to an extra allowance. The amount depends on the situation:<\/legend>\n                              <label><\/label>\n                              <input type=\"radio\" id=\"family-children-4-orphan-one\" name=\"family[children][4][orphan]\" value=\"one\" required>\n                              <label for=\"family-children-4-orphan-one\" class=\"radio_btn\">One of the parents has passed away<\/label><br>\n\n                              <input type=\"radio\" id=\"family-children-4-orphan-both\" name=\"family[children][4][orphan]\" value=\"both\" required>\n                              <label for=\"family-children-4-orphan-both\" class=\"radio_btn\">Both parents has passed away<\/label>\n                              <div class=\"error\" id=\"weeskind_error-4\">Chose one of these options<\/div>\n                          <\/fieldset>\n                        <\/div>\n\n                        <div class=\"margin-top\">\n                          <input type=\"hidden\" name=\"family[children][4][disability]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-4-disability\" name=\"family[children][4][disability]\" value=\"1\" data-fieldset-target=\"disability4\">\n                          <label for=\"family-children-4-disability\">My child has a disability\/condition<\/label>\n                        <\/div>\n                        <fieldset name=\"disability4\" class=\"beperking_hidden margin-top\" disabled>\n                          <legend class=\"width_lg\">Children with specific support needs receive a care allowance in addition to the basic amount to ease the financial burden of care. The amount depends on your situation. My child has:<\/legend>\n                            <label>Disability\/Handicap<\/label>\n                              <div class=\"chevron\">\n                              <select id=\"family-children-0-disability-select\" name=\"family[children][0][disability]\" oninvalid=\"this.setCustomValidity('Please fill this in')\" onchange=\"this.setCustomValidity('')\" required=\"\">\n                                <option value=\"\" selected=\"\" disabled=\"\">Make a choice<\/option>\n<option value=\"a\">At least 4 points in the 1st pillar and less than 6 points across the three pillars<\/option>\n<option value=\"b\">6 \u2013 8 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"c\">6 \u2013 8 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"d\">9 \u2013 11 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"e\">9 \u2013 11 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"f\">12 \u2013 14 points across the three pillars<\/option>\n<option value=\"g\">15 \u2013 17 points across the three pillars<\/option>\n<option value=\"h\">18 \u2013 20 points across the three pillars<\/option>\n<option value=\"i\">+20 points across the three pillars<\/option>                              <\/select>\n                              <\/div>\n                        <\/fieldset>\n\n                        <button type=\"button\" class=\"remove_child\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"4\" >\n                         Remove a child                        <\/button>\n\n                        <hr class=\"child-divider\">\n\n                        <button type=\"button\" class=\"add_child button button--border\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"5\" >\n                        Add another child                        <\/button>\n                    <\/fieldset>\n                                    <fieldset name=\"children5\" disabled>\n                        <label for=\"family-children-5-name\">Child name*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-5-name\" name=\"family[children][5][name]\" oninvalid=\"this.setCustomValidity('This is a mandatory field')\" onchange=\"this.setCustomValidity('')\" required placeholder=\"Your first name\">\n                        <\/div>\n                        <label for=\"family-children-5-dob\">(Estimated) Date of Birth*<\/label>\n                        <div class=\"input\">\n                          <input type=\"text\" id=\"family-children-5-dob\" name=\"family[children][5][dob_formatted]\" autocomplete=\"off\" class=\"date_new\" data-date-format=\"dd\/mm\/yyyy\" placeholder=\"__\/__\/____\" maxlength=\"10\" oninvalid=\"this.setCustomValidity('Enter a valid estimated date of birth')\" onchange=\"this.setCustomValidity('')\" required>\n                        <\/div>\n                        <input type=\"hidden\" name=\"family[children][5][education]\" value=\"0\">\n                        <fieldset name=\"education5\" class=\"hogere_hidden margin-top\">\n                            <input type=\"checkbox\" id=\"family-children-5-education\" name=\"family[children][5][education]\" value=\"enrolled-higher-education\">\n                            <label for=\"family-children-5-education\">Enrolled in higher education<\/label>\n                        <\/fieldset>\n                        <div class=\"weeskind margin-top\">\n                          <input type=\"hidden\" name=\"family[children][5][orphan]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-5-orphan\" name=\"family[children][5][orphan]\" value=\"1\" data-fieldset-target=\"orphan5\">\n                          <label for=\"family-children-5-orphan\">My child is an orphan<\/label>\n\n                          <fieldset name=\"orphan5\" class=\"weeskind_hidden margin-top\" disabled>\n                              <legend class=\"width_lg\">Because this child is a (half) orphan, you are entitled to an extra allowance. The amount depends on the situation:<\/legend>\n                              <label><\/label>\n                              <input type=\"radio\" id=\"family-children-5-orphan-one\" name=\"family[children][5][orphan]\" value=\"one\" required>\n                              <label for=\"family-children-5-orphan-one\" class=\"radio_btn\">One of the parents has passed away<\/label><br>\n\n                              <input type=\"radio\" id=\"family-children-5-orphan-both\" name=\"family[children][5][orphan]\" value=\"both\" required>\n                              <label for=\"family-children-5-orphan-both\" class=\"radio_btn\">Both parents has passed away<\/label>\n                              <div class=\"error\" id=\"weeskind_error-5\">Chose one of these options<\/div>\n                          <\/fieldset>\n                        <\/div>\n\n                        <div class=\"margin-top\">\n                          <input type=\"hidden\" name=\"family[children][5][disability]\" value=\"0\">\n                          <input type=\"checkbox\" id=\"family-children-5-disability\" name=\"family[children][5][disability]\" value=\"1\" data-fieldset-target=\"disability5\">\n                          <label for=\"family-children-5-disability\">My child has a disability\/condition<\/label>\n                        <\/div>\n                        <fieldset name=\"disability5\" class=\"beperking_hidden margin-top\" disabled>\n                          <legend class=\"width_lg\">Children with specific support needs receive a care allowance in addition to the basic amount to ease the financial burden of care. The amount depends on your situation. My child has:<\/legend>\n                            <label>Disability\/Handicap<\/label>\n                              <div class=\"chevron\">\n                              <select id=\"family-children-0-disability-select\" name=\"family[children][0][disability]\" oninvalid=\"this.setCustomValidity('Please fill this in')\" onchange=\"this.setCustomValidity('')\" required=\"\">\n                                <option value=\"\" selected=\"\" disabled=\"\">Make a choice<\/option>\n<option value=\"a\">At least 4 points in the 1st pillar and less than 6 points across the three pillars<\/option>\n<option value=\"b\">6 \u2013 8 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"c\">6 \u2013 8 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"d\">9 \u2013 11 points across the three pillars and less than 4 points in the 1st pillar<\/option>\n<option value=\"e\">9 \u2013 11 points across the three pillars and at least 4 points in the 1st pillar<\/option>\n<option value=\"f\">12 \u2013 14 points across the three pillars<\/option>\n<option value=\"g\">15 \u2013 17 points across the three pillars<\/option>\n<option value=\"h\">18 \u2013 20 points across the three pillars<\/option>\n<option value=\"i\">+20 points across the three pillars<\/option>                              <\/select>\n                              <\/div>\n                        <\/fieldset>\n\n                        <button type=\"button\" class=\"remove_child\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"5\" >\n                         Remove a child                        <\/button>\n\n                        <hr class=\"child-divider\">\n\n                        <button type=\"button\" class=\"add_child button button--border\" data-fieldset-target=\"children\" data-fieldset-target-idx=\"6\" disabled>\n                        Add another child                        <\/button>\n                    <\/fieldset>\n                <br>\n                                <!-- Temp Removed -->\n                <button type=\"button\" id=\"step_2\" class=\"next_btn button button--primary _ico\">\n                Next step                    <span class=\"ico\">\n                        <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\n                            <path\n                                d=\"M16.175 13H5C4.71667 13 4.47917 12.9042 4.2875 12.7125C4.09583 12.5208 4 12.2833 4 12C4 11.7167 4.09583 11.4792 4.2875 11.2875C4.47917 11.0958 4.71667 11 5 11H16.175L11.275 6.1C11.075 5.9 10.9792 5.66667 10.9875 5.4C10.9958 5.13334 11.1 4.9 11.3 4.7C11.5 4.51667 11.7333 4.42084 12 4.4125C12.2667 4.40417 12.5 4.5 12.7 4.7L19.3 11.3C19.4 11.4 19.4708 11.5083 19.5125 11.625C19.5542 11.7417 19.575 11.8667 19.575 12C19.575 12.1333 19.5542 12.2583 19.5125 12.375C19.4708 12.4917 19.4 12.6 19.3 12.7L12.7 19.3C12.5167 19.4833 12.2875 19.575 12.0125 19.575C11.7375 19.575 11.5 19.4833 11.3 19.3C11.1 19.1 11 18.8625 11 18.5875C11 18.3125 11.1 18.075 11.3 17.875L16.175 13Z\"\n                                fill=\"white\"\n                            \/>\n                        <\/svg>\n                    <\/span>\n                <\/button>\n            <\/div>\n      <\/fieldset>\n        <!-- Third Step -->\n        <fieldset id=\"resultaat_info\" name=\"results\" disabled=\"\">\n        <button class=\"burger backLink\" id=\"terug_last\">\n            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\n              <path d=\"M7.8248 13L12.7248 17.9C12.9248 18.1 13.0206 18.3334 13.0123 18.6C13.004 18.8667 12.8998 19.1 12.6998 19.3C12.4998 19.4834 12.2665 19.5792 11.9998 19.5875C11.7331 19.5959 11.4998 19.5 11.2998 19.3L4.6998 12.7C4.5998 12.6 4.52897 12.4917 4.4873 12.375C4.44564 12.2584 4.4248 12.1334 4.4248 12C4.4248 11.8667 4.44564 11.7417 4.4873 11.625C4.52897 11.5084 4.5998 11.4 4.6998 11.3L11.2998 4.70005C11.4831 4.51672 11.7123 4.42505 11.9873 4.42505C12.2623 4.42505 12.4998 4.51672 12.6998 4.70005C12.8998 4.90005 12.9998 5.13755 12.9998 5.41255C12.9998 5.68755 12.8998 5.92505 12.6998 6.12505L7.8248 11H18.9998C19.2831 11 19.5206 11.0959 19.7123 11.2875C19.904 11.4792 19.9998 11.7167 19.9998 12C19.9998 12.2834 19.904 12.5209 19.7123 12.7125C19.5206 12.9042 19.2831 13 18.9998 13H7.8248Z\" fill=\"#00256E\"\/>\n            <\/svg>\n        <\/button>\n        <span style=\"width: 100%\" class=\"progress-bar\"><\/span>\n            <div class=\"grid-title\">\n                                    <img decoding=\"async\" src=\"https:\/\/www.staging.brusselsfamily.springbok.agency\/wp-content\/uploads\/2024\/05\/overview-image.png\" alt=\"Forms\" \/>\n                                                <h2 style=\"text-align: center\">Your child allowances amount to:<\/h2>            <\/div>\n            <div id=\"second-section3\" class=\"padding-top\">\n                <!---- Content Start ---->\n                    <div class=\"results\">\n                        <h2 id=\"results-total-monthly\" class=\"results-total\">\u20ac&nbsp;0,00<\/h2>\n                        <span>per month*<\/span>\n                        <!-- <p>De (jaarlijkse) schoolpremie<sup>*<\/sup>:<\/p>\n                          <span id=\"results-total-annually\" class=\"results-total\">\u20ac&nbsp;0,00<\/span>\n                          <div id=\"results-maternity\">\n                              <br \/>\n                              <br \/>\n                              <p>Je krijgt een <strong>geboortepremie<\/strong> van<sup>*<\/sup>:<\/p>\n                              <span id=\"results-total-maternity\" class=\"results-total\">\u20ac&nbsp;0,00<\/span>\n                          <\/div> -->\n                    <\/div>\n\n                    <!-- <legend style=\"text-align: center; font-size: 16px;\">Wil je graag alle details van deze berekening kennen? Vul je e-mailadres in en we bezorgen je snel een volledig overzicht:<\/legend> -->\n                <!-- <div class=\"col-sm-offset-4 col-sm-4 col-xs-12\">\n                            <label for=\"family-email\">E-mailadres<\/label>\n                            <input type=\"email\" id=\"family-email\" name=\"family[email]\" oninvalid=\"this.setCustomValidity('Gelieve dit in te vullen')\" onchange=\"this.setCustomValidity('')\" required=\"\" \/><br \/>\n\n                            <input type=\"checkbox\" id=\"family-email-tos\" name=\"family[tos]\" value=\"1\" oninvalid=\"this.setCustomValidity('Accepteer alsjeblieft de voorwaarden')\" onchange=\"this.setCustomValidity('')\" required=\"\" \/>\n                            <label for=\"family-email-tos\">\n                                Ik ga akkoord met de\n                                <a href=\"\/nl\/disclaimer\/\" target=\"_blank\" data-wpel-link=\"internal\" rel=\"noopener noreferrer\" class=\"wpel-icon-right\">algemene voorwaarden<i class=\"wpel-icon fa fa-angle-right\" aria-hidden=\"true\"><\/i><\/a>.\n                            <\/label>\n\n                            <button type=\"submit\" class=\"next_btn\">\n                                <span>Mail mij het resultaat<\/span>\n                            <\/button>\n                            <button type=\"button\" data-fieldset-target=\"family\" id=\"terug_last\">\n                                Stap terug\n                            <\/button>\n                        <\/div> -->\n                <div class=\"col-sm-12 col-xs-12\">\n                    <span class=\"schatting\">\n                        * These amounts are an estimate based on the information you provided. Specific family situations or an indexation may yield different results. Please feel free to contact us with any questions about this calculation.                    <\/span>\n                <\/div>\n                <div class=\"expecting-baby\">\n                    <h5>Expecting a baby?<\/h5>\n<p><a href=\"https:\/\/www.brusselsfamily.be\/en\/application-for-birth-allowance\/\" target=\"_blank\" rel=\"noopener\">Apply for birth grant<\/a><\/p>                <\/div>\n\n                <a href=\"https:\/\/www.brusselsfamily.be\/en\/applying-for-child-benefit\/\" class=\"next_btn button button--primary _ico\" target=\"_blank\" rel=\"noopener\">\n                  Apply for child allowances                      <span class=\"ico\">\n                          <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\">\n                              <path\n                                  d=\"M16.175 13H5C4.71667 13 4.47917 12.9042 4.2875 12.7125C4.09583 12.5208 4 12.2833 4 12C4 11.7167 4.09583 11.4792 4.2875 11.2875C4.47917 11.0958 4.71667 11 5 11H16.175L11.275 6.1C11.075 5.9 10.9792 5.66667 10.9875 5.4C10.9958 5.13334 11.1 4.9 11.3 4.7C11.5 4.51667 11.7333 4.42084 12 4.4125C12.2667 4.40417 12.5 4.5 12.7 4.7L19.3 11.3C19.4 11.4 19.4708 11.5083 19.5125 11.625C19.5542 11.7417 19.575 11.8667 19.575 12C19.575 12.1333 19.5542 12.2583 19.5125 12.375C19.4708 12.4917 19.4 12.6 19.3 12.7L12.7 19.3C12.5167 19.4833 12.2875 19.575 12.0125 19.575C11.7375 19.575 11.5 19.4833 11.3 19.3C11.1 19.1 11 18.8625 11 18.5875C11 18.3125 11.1 18.075 11.3 17.875L16.175 13Z\"\n                                  fill=\"white\"\n                              \/>\n                          <\/svg>\n                      <\/span>\n                  <\/a>\n                            <\/div>\n        <\/fieldset>\n    <\/form>\n<\/div>\n<script src=\"https:\/\/code.jquery.com\/jquery-3.7.1.min.js\"><\/script>\n<script src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/bootstrap-datepicker\/1.10.0\/js\/bootstrap-datepicker.min.js\"><\/script>\n<script>\n    \/\/ Push data layer step 1\n    var htmlLang = document.documentElement.lang;\n    window.dataLayer = window.dataLayer || [];\n    window.addEventListener('load', function() {\n      window.dataLayer.push({\n        'event': 'virtual_page_view',\n        'vpp': '\/' + htmlLang + '\/calculator-step\/1'\n      });\n      window.dataLayer.push({\n        'event': 'calculator_step_reached',\n        'stap': '1',\n        'stap_naam': 'step_family_situation'\n      });\n    });\n    $('#bfc_kinder form').submit(function(e){\n        e.preventDefault();\n        $(this).find('button[type=submit]').prop('disabled', true);\n        $(this).find('button[type=submit]').addClass('btn-loading');\n\n        var xhr = new XMLHttpRequest();\n\n        $.ajax({\n            type: \"POST\",\n            data: $(this).serialize(),\n            xhr: function() {\n                return xhr;\n            },\n            success: function(data) {\n                $(this).find('button[type=submit]').prop('disabled', false);\n                $(this).find('button[type=submit]').removeClass('btn-loading');\n                window.location.href = xhr.responseURL;\n            }\n        });\n\n    });\n    $(\"#step_1\").click(function(e) {\n      if ($(\"input[name='family[income]']\").is(\":checked\") && $(\"input[name='family[situation]']\").is(\":checked\") ) {\n          $(\"#family_info\").hide();\n          $(\"#kind_info\").fadeIn(200);\n          $(\"html, body\").animate({\n              scrollTop: 0\n          }, 1000);\n          window.dataLayer.push({\n          \t'event': 'virtual_page_view',\n          \t'vpp': '\/' + htmlLang + '\/calculator-step\/2'\n          });\n          window.dataLayer.push({\n          \t'event': 'calculator_step_reached',\n          \t'stap': '2',\n          \t'stap_naam': 'step_children'\n          });\n        }\n      else if(!$(\"input[name='family[income]']\").is(\":checked\")) {\n         $(\"#family_error\").show();\n        }\n      else if(!$(\"input[name='family[situation]']\").is(\":checked\") ) {\n         $(\"#income_error\").show();\n       }\n    });\n\n    \/\/ Toon resultaten button\n    $(\"#step_2\").click(function(e) {\n        var form = $('#bfc_kinder form')[0];\n        \/\/ Controleer of het formulier alles heeft ingevuld\n        if (form.reportValidity()) {\n            $.ajax({\n                type: \"POST\",\n                url: \"\/wp-content\/themes\/brusselsfamily\/blocks\/bfc-v1\/results.php\",\n                data: $(form).serialize(),\n                success: function(data) {\n                    var results = $.parseJSON(data);\n                    $('#results-total-monthly').text(results.total);\n                    $('#results-total-annually').text(results.schoolbonusTotal);\n                    $('#results-total-maternity').text(results.maternityAllowanceTotal);\n                    if (results.maternityAllowanceTotal === 0) {\n                        $('#results-maternity').hide();\n                    } else {\n                        $('#results-maternity').show();\n                    }\n\n                    $(\"#kind_info\").hide();\n                    $(\"#resultaat_info\").prop('disabled', false);\n                    $(\"#resultaat_info\").fadeIn(200);\n                    $(\"html, body\").animate({\n                        scrollTop: 0\n                    }, 1000);\n\n                    window.dataLayer.push({\n                    \t'event': 'calculator_result_viewed'\n                    });\n\n                    window.dataLayer.push({\n                    \t'event': 'virtual_page_view',\n                    \t'vpp': '\/' + htmlLang + '\/calculator-step\/3'\n                    });\n                    window.dataLayer.push({\n                    \t'event': 'calculator_step_reached',\n                    \t'stap': '3',\n                    \t'stap_naam': 'step_result'\n                    });\n                }\n            });\n        }\n        else {\n            \/\/ Niet alle verplichte velden zijn ingevuld\n        }\n    });\n\n    $(\"#terug\").click(function () {\n      $(\"#kind_info\").hide();\n      $(\"#family_info\").fadeIn(200);\n      $(\"html, body\").animate({\n          scrollTop: 0\n      }, 1000);\n    });\n    $(\"#terug_last\").click(function () {\n      $(\"#resultaat_info\").hide();\n      $(\"#resultaat_info\").prop('disabled', true);\n      $(\"#kind_info\").fadeIn(200);\n      $(\"html, body\").animate({\n          scrollTop: 0\n      }, 1000);\n    });\n    $(\"input[name='family[income]']\").change(function(e) {\n      $(\"#family_error\").hide();\n    });\n    $(\"input[name='family[situation]']\").change(function(e) {\n      $(\"#income_error\").hide();\n    });\n\n    $(\".add_child\").click(function() {\n        var fieldsetTarget = this.dataset.fieldsetTarget + this.dataset.fieldsetTargetIdx;\n        $(\"fieldset[name='\"+fieldsetTarget+\"']\").prop('disabled', false);\n        $(this).prop('disabled', true);\n    });\n    $(\".remove_child\").click(function() {\n        var fieldsetTarget = this.dataset.fieldsetTarget + this.dataset.fieldsetTargetIdx;\n        $(\"fieldset[name='\"+fieldsetTarget+\"']\").prop('disabled', true);\n        $('[name=\"'+this.dataset.fieldsetTarget+'\"] fieldset:not(\":disabled\") .add_child').last().prop('disabled', false);\n    });\n\n            \/\/ Show details weeskind\n        $('#family-children-0-orphan').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n                $(\"[name='orphan0'].weeskind_hidden\").prop('disabled', false);\n                $(\"[name='orphan0'].weeskind_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='orphan0'].weeskind_hidden\").prop('disabled', true);\n                $(\"[name='orphan0'].weeskind_hidden\").fadeOut();\n            }\n        });\n        \/\/ Show details beperking\/handicap\n        $('#family-children-0-disability').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n\n                $(\"[name='disability0'].beperking_hidden\").prop('disabled', false);\n                $(\"[name='disability0'].beperking_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='disability0'].beperking_hidden\").prop('disabled', true);\n                $(\".beperking_hidden\").fadeOut(function() {\n                    \/\/ Reset de geselecteerde waarde in de select lijst\n                    $(\"[name='disability0'].beperking_hidden select\").prop('selectedIndex',0);\n                });\n            }\n        });\n        $(\"#family-children-0-name\").on(\"input\", function() {\n            var regexp = \/[^a-zA-Z\u00c0-\u00ff ]\/;\n            if ($(this).val().match(regexp)) {\n                $(this).val($(this).val().replace(regexp, ''));\n            }\n        });\n\n        $(\"#step_2\").click(function(e) {\n            if ($(\"#family-children-0-orphan\").is(\":checked\")) {\n                if ($(\"#family-children-0-orphan-one\").is(\":checked\") || $(\"#family-children-0-orphan-both\").is(\":checked\")) {\n                    $(\"#weeskind_error-0\").hide();\n                } else {\n                    $(\"#weeskind_error-0\").show();\n                }\n            } else {\n                $(\"#weeskind_error-0\").hide();\n            }\n        });\n\n        $(\"#family-children-0-orphan-one\").change(function(e) {\n          $(\"#weeskind_error-0\").hide();\n        });\n        $(\"#family-children-0-orphan-both\").change(function(e) {\n          $(\"#weeskind_error-0\").hide();\n        });\n            \/\/ Show details weeskind\n        $('#family-children-1-orphan').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n                $(\"[name='orphan1'].weeskind_hidden\").prop('disabled', false);\n                $(\"[name='orphan1'].weeskind_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='orphan1'].weeskind_hidden\").prop('disabled', true);\n                $(\"[name='orphan1'].weeskind_hidden\").fadeOut();\n            }\n        });\n        \/\/ Show details beperking\/handicap\n        $('#family-children-1-disability').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n\n                $(\"[name='disability1'].beperking_hidden\").prop('disabled', false);\n                $(\"[name='disability1'].beperking_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='disability1'].beperking_hidden\").prop('disabled', true);\n                $(\".beperking_hidden\").fadeOut(function() {\n                    \/\/ Reset de geselecteerde waarde in de select lijst\n                    $(\"[name='disability1'].beperking_hidden select\").prop('selectedIndex',0);\n                });\n            }\n        });\n        $(\"#family-children-1-name\").on(\"input\", function() {\n            var regexp = \/[^a-zA-Z\u00c0-\u00ff ]\/;\n            if ($(this).val().match(regexp)) {\n                $(this).val($(this).val().replace(regexp, ''));\n            }\n        });\n\n        $(\"#step_2\").click(function(e) {\n            if ($(\"#family-children-1-orphan\").is(\":checked\")) {\n                if ($(\"#family-children-1-orphan-one\").is(\":checked\") || $(\"#family-children-1-orphan-both\").is(\":checked\")) {\n                    $(\"#weeskind_error-1\").hide();\n                } else {\n                    $(\"#weeskind_error-1\").show();\n                }\n            } else {\n                $(\"#weeskind_error-1\").hide();\n            }\n        });\n\n        $(\"#family-children-1-orphan-one\").change(function(e) {\n          $(\"#weeskind_error-1\").hide();\n        });\n        $(\"#family-children-1-orphan-both\").change(function(e) {\n          $(\"#weeskind_error-1\").hide();\n        });\n            \/\/ Show details weeskind\n        $('#family-children-2-orphan').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n                $(\"[name='orphan2'].weeskind_hidden\").prop('disabled', false);\n                $(\"[name='orphan2'].weeskind_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='orphan2'].weeskind_hidden\").prop('disabled', true);\n                $(\"[name='orphan2'].weeskind_hidden\").fadeOut();\n            }\n        });\n        \/\/ Show details beperking\/handicap\n        $('#family-children-2-disability').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n\n                $(\"[name='disability2'].beperking_hidden\").prop('disabled', false);\n                $(\"[name='disability2'].beperking_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='disability2'].beperking_hidden\").prop('disabled', true);\n                $(\".beperking_hidden\").fadeOut(function() {\n                    \/\/ Reset de geselecteerde waarde in de select lijst\n                    $(\"[name='disability2'].beperking_hidden select\").prop('selectedIndex',0);\n                });\n            }\n        });\n        $(\"#family-children-2-name\").on(\"input\", function() {\n            var regexp = \/[^a-zA-Z\u00c0-\u00ff ]\/;\n            if ($(this).val().match(regexp)) {\n                $(this).val($(this).val().replace(regexp, ''));\n            }\n        });\n\n        $(\"#step_2\").click(function(e) {\n            if ($(\"#family-children-2-orphan\").is(\":checked\")) {\n                if ($(\"#family-children-2-orphan-one\").is(\":checked\") || $(\"#family-children-2-orphan-both\").is(\":checked\")) {\n                    $(\"#weeskind_error-2\").hide();\n                } else {\n                    $(\"#weeskind_error-2\").show();\n                }\n            } else {\n                $(\"#weeskind_error-2\").hide();\n            }\n        });\n\n        $(\"#family-children-2-orphan-one\").change(function(e) {\n          $(\"#weeskind_error-2\").hide();\n        });\n        $(\"#family-children-2-orphan-both\").change(function(e) {\n          $(\"#weeskind_error-2\").hide();\n        });\n            \/\/ Show details weeskind\n        $('#family-children-3-orphan').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n                $(\"[name='orphan3'].weeskind_hidden\").prop('disabled', false);\n                $(\"[name='orphan3'].weeskind_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='orphan3'].weeskind_hidden\").prop('disabled', true);\n                $(\"[name='orphan3'].weeskind_hidden\").fadeOut();\n            }\n        });\n        \/\/ Show details beperking\/handicap\n        $('#family-children-3-disability').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n\n                $(\"[name='disability3'].beperking_hidden\").prop('disabled', false);\n                $(\"[name='disability3'].beperking_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='disability3'].beperking_hidden\").prop('disabled', true);\n                $(\".beperking_hidden\").fadeOut(function() {\n                    \/\/ Reset de geselecteerde waarde in de select lijst\n                    $(\"[name='disability3'].beperking_hidden select\").prop('selectedIndex',0);\n                });\n            }\n        });\n        $(\"#family-children-3-name\").on(\"input\", function() {\n            var regexp = \/[^a-zA-Z\u00c0-\u00ff ]\/;\n            if ($(this).val().match(regexp)) {\n                $(this).val($(this).val().replace(regexp, ''));\n            }\n        });\n\n        $(\"#step_2\").click(function(e) {\n            if ($(\"#family-children-3-orphan\").is(\":checked\")) {\n                if ($(\"#family-children-3-orphan-one\").is(\":checked\") || $(\"#family-children-3-orphan-both\").is(\":checked\")) {\n                    $(\"#weeskind_error-3\").hide();\n                } else {\n                    $(\"#weeskind_error-3\").show();\n                }\n            } else {\n                $(\"#weeskind_error-3\").hide();\n            }\n        });\n\n        $(\"#family-children-3-orphan-one\").change(function(e) {\n          $(\"#weeskind_error-3\").hide();\n        });\n        $(\"#family-children-3-orphan-both\").change(function(e) {\n          $(\"#weeskind_error-3\").hide();\n        });\n            \/\/ Show details weeskind\n        $('#family-children-4-orphan').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n                $(\"[name='orphan4'].weeskind_hidden\").prop('disabled', false);\n                $(\"[name='orphan4'].weeskind_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='orphan4'].weeskind_hidden\").prop('disabled', true);\n                $(\"[name='orphan4'].weeskind_hidden\").fadeOut();\n            }\n        });\n        \/\/ Show details beperking\/handicap\n        $('#family-children-4-disability').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n\n                $(\"[name='disability4'].beperking_hidden\").prop('disabled', false);\n                $(\"[name='disability4'].beperking_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='disability4'].beperking_hidden\").prop('disabled', true);\n                $(\".beperking_hidden\").fadeOut(function() {\n                    \/\/ Reset de geselecteerde waarde in de select lijst\n                    $(\"[name='disability4'].beperking_hidden select\").prop('selectedIndex',0);\n                });\n            }\n        });\n        $(\"#family-children-4-name\").on(\"input\", function() {\n            var regexp = \/[^a-zA-Z\u00c0-\u00ff ]\/;\n            if ($(this).val().match(regexp)) {\n                $(this).val($(this).val().replace(regexp, ''));\n            }\n        });\n\n        $(\"#step_2\").click(function(e) {\n            if ($(\"#family-children-4-orphan\").is(\":checked\")) {\n                if ($(\"#family-children-4-orphan-one\").is(\":checked\") || $(\"#family-children-4-orphan-both\").is(\":checked\")) {\n                    $(\"#weeskind_error-4\").hide();\n                } else {\n                    $(\"#weeskind_error-4\").show();\n                }\n            } else {\n                $(\"#weeskind_error-4\").hide();\n            }\n        });\n\n        $(\"#family-children-4-orphan-one\").change(function(e) {\n          $(\"#weeskind_error-4\").hide();\n        });\n        $(\"#family-children-4-orphan-both\").change(function(e) {\n          $(\"#weeskind_error-4\").hide();\n        });\n            \/\/ Show details weeskind\n        $('#family-children-5-orphan').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n                $(\"[name='orphan5'].weeskind_hidden\").prop('disabled', false);\n                $(\"[name='orphan5'].weeskind_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='orphan5'].weeskind_hidden\").prop('disabled', true);\n                $(\"[name='orphan5'].weeskind_hidden\").fadeOut();\n            }\n        });\n        \/\/ Show details beperking\/handicap\n        $('#family-children-5-disability').change(function() {\n            if($(this).prop(\"checked\") === true) {\n                \/\/ Verwijder \"disabled\" van de fieldset zodat het formulier\n                \/\/ De input velden wel mee stuurt en controleert\n\n                $(\"[name='disability5'].beperking_hidden\").prop('disabled', false);\n                $(\"[name='disability5'].beperking_hidden\").fadeIn();\n            } else {\n                \/\/ Geef de fielset een attribute \"disabled\" zodat het formulier\n                \/\/ De velden niet mee stuurt (want zijn niet nodig)\n                $(\"[name='disability5'].beperking_hidden\").prop('disabled', true);\n                $(\".beperking_hidden\").fadeOut(function() {\n                    \/\/ Reset de geselecteerde waarde in de select lijst\n                    $(\"[name='disability5'].beperking_hidden select\").prop('selectedIndex',0);\n                });\n            }\n        });\n        $(\"#family-children-5-name\").on(\"input\", function() {\n            var regexp = \/[^a-zA-Z\u00c0-\u00ff ]\/;\n            if ($(this).val().match(regexp)) {\n                $(this).val($(this).val().replace(regexp, ''));\n            }\n        });\n\n        $(\"#step_2\").click(function(e) {\n            if ($(\"#family-children-5-orphan\").is(\":checked\")) {\n                if ($(\"#family-children-5-orphan-one\").is(\":checked\") || $(\"#family-children-5-orphan-both\").is(\":checked\")) {\n                    $(\"#weeskind_error-5\").hide();\n                } else {\n                    $(\"#weeskind_error-5\").show();\n                }\n            } else {\n                $(\"#weeskind_error-5\").hide();\n            }\n        });\n\n        $(\"#family-children-5-orphan-one\").change(function(e) {\n          $(\"#weeskind_error-5\").hide();\n        });\n        $(\"#family-children-5-orphan-both\").change(function(e) {\n          $(\"#weeskind_error-5\").hide();\n        });\n    \n    $(window).on('load', function() {\n                    $('#family-children-0-dob').datepicker({\n                dateFormat: 'dd\/mm\/yy'\n            });\n            $('#family-children-0-dob').on('input', function() {\n                $(this).trigger('change');\n            })\n            $('#family-children-0-dob').keyup(function() {\n    var dobValue = $(this).val();\n\n    \/\/ If the input is empty, hide the checkbox\n    if (dobValue.trim() === '') {\n        $(\"[name='education0']\").fadeOut(function() {\n            $(\"#family-children-0-education\").prop(\"checked\", false);\n        });\n        return; \/\/ Exit the function early\n    }\n\n    \/\/ Check if the input has 10 characters (assuming the date format is \"MM\/DD\/YYYY\" or similar)\n    if (dobValue.length >= 10) {\n        var today = new Date();\n        \/\/ Date 18 years ago\n        var dateStudentCheck = new Date(today.getFullYear() - 18, today.getMonth(), today.getDate());\n        var dob0Date = new Date(Date.parse($('#family-children-0-dob').datepicker('getDate')));\n\n        \/\/ If the child is older than 18\n        if (dob0Date <= dateStudentCheck) {\n            \/\/ If age is above 18, show checkbox \"Enrolled in higher studies\"\n            $(\"[name='education0']\").fadeIn();\n        } else {\n            $(\"[name='education0']\").fadeOut(function() {\n                $(\"#family-children-0-education\").prop(\"checked\", false);\n            });\n        }\n    }\n});\n\n\n                    $('#family-children-1-dob').datepicker({\n                dateFormat: 'dd\/mm\/yy'\n            });\n            $('#family-children-1-dob').on('input', function() {\n                $(this).trigger('change');\n            })\n            $('#family-children-1-dob').keyup(function() {\n    var dobValue = $(this).val();\n\n    \/\/ If the input is empty, hide the checkbox\n    if (dobValue.trim() === '') {\n        $(\"[name='education1']\").fadeOut(function() {\n            $(\"#family-children-1-education\").prop(\"checked\", false);\n        });\n        return; \/\/ Exit the function early\n    }\n\n    \/\/ Check if the input has 10 characters (assuming the date format is \"MM\/DD\/YYYY\" or similar)\n    if (dobValue.length >= 10) {\n        var today = new Date();\n        \/\/ Date 18 years ago\n        var dateStudentCheck = new Date(today.getFullYear() - 18, today.getMonth(), today.getDate());\n        var dob1Date = new Date(Date.parse($('#family-children-1-dob').datepicker('getDate')));\n\n        \/\/ If the child is older than 18\n        if (dob1Date <= dateStudentCheck) {\n            \/\/ If age is above 18, show checkbox \"Enrolled in higher studies\"\n            $(\"[name='education1']\").fadeIn();\n        } else {\n            $(\"[name='education1']\").fadeOut(function() {\n                $(\"#family-children-1-education\").prop(\"checked\", false);\n            });\n        }\n    }\n});\n\n\n                    $('#family-children-2-dob').datepicker({\n                dateFormat: 'dd\/mm\/yy'\n            });\n            $('#family-children-2-dob').on('input', function() {\n                $(this).trigger('change');\n            })\n            $('#family-children-2-dob').keyup(function() {\n    var dobValue = $(this).val();\n\n    \/\/ If the input is empty, hide the checkbox\n    if (dobValue.trim() === '') {\n        $(\"[name='education2']\").fadeOut(function() {\n            $(\"#family-children-2-education\").prop(\"checked\", false);\n        });\n        return; \/\/ Exit the function early\n    }\n\n    \/\/ Check if the input has 10 characters (assuming the date format is \"MM\/DD\/YYYY\" or similar)\n    if (dobValue.length >= 10) {\n        var today = new Date();\n        \/\/ Date 18 years ago\n        var dateStudentCheck = new Date(today.getFullYear() - 18, today.getMonth(), today.getDate());\n        var dob2Date = new Date(Date.parse($('#family-children-2-dob').datepicker('getDate')));\n\n        \/\/ If the child is older than 18\n        if (dob2Date <= dateStudentCheck) {\n            \/\/ If age is above 18, show checkbox \"Enrolled in higher studies\"\n            $(\"[name='education2']\").fadeIn();\n        } else {\n            $(\"[name='education2']\").fadeOut(function() {\n                $(\"#family-children-2-education\").prop(\"checked\", false);\n            });\n        }\n    }\n});\n\n\n                    $('#family-children-3-dob').datepicker({\n                dateFormat: 'dd\/mm\/yy'\n            });\n            $('#family-children-3-dob').on('input', function() {\n                $(this).trigger('change');\n            })\n            $('#family-children-3-dob').keyup(function() {\n    var dobValue = $(this).val();\n\n    \/\/ If the input is empty, hide the checkbox\n    if (dobValue.trim() === '') {\n        $(\"[name='education3']\").fadeOut(function() {\n            $(\"#family-children-3-education\").prop(\"checked\", false);\n        });\n        return; \/\/ Exit the function early\n    }\n\n    \/\/ Check if the input has 10 characters (assuming the date format is \"MM\/DD\/YYYY\" or similar)\n    if (dobValue.length >= 10) {\n        var today = new Date();\n        \/\/ Date 18 years ago\n        var dateStudentCheck = new Date(today.getFullYear() - 18, today.getMonth(), today.getDate());\n        var dob3Date = new Date(Date.parse($('#family-children-3-dob').datepicker('getDate')));\n\n        \/\/ If the child is older than 18\n        if (dob3Date <= dateStudentCheck) {\n            \/\/ If age is above 18, show checkbox \"Enrolled in higher studies\"\n            $(\"[name='education3']\").fadeIn();\n        } else {\n            $(\"[name='education3']\").fadeOut(function() {\n                $(\"#family-children-3-education\").prop(\"checked\", false);\n            });\n        }\n    }\n});\n\n\n                    $('#family-children-4-dob').datepicker({\n                dateFormat: 'dd\/mm\/yy'\n            });\n            $('#family-children-4-dob').on('input', function() {\n                $(this).trigger('change');\n            })\n            $('#family-children-4-dob').keyup(function() {\n    var dobValue = $(this).val();\n\n    \/\/ If the input is empty, hide the checkbox\n    if (dobValue.trim() === '') {\n        $(\"[name='education4']\").fadeOut(function() {\n            $(\"#family-children-4-education\").prop(\"checked\", false);\n        });\n        return; \/\/ Exit the function early\n    }\n\n    \/\/ Check if the input has 10 characters (assuming the date format is \"MM\/DD\/YYYY\" or similar)\n    if (dobValue.length >= 10) {\n        var today = new Date();\n        \/\/ Date 18 years ago\n        var dateStudentCheck = new Date(today.getFullYear() - 18, today.getMonth(), today.getDate());\n        var dob4Date = new Date(Date.parse($('#family-children-4-dob').datepicker('getDate')));\n\n        \/\/ If the child is older than 18\n        if (dob4Date <= dateStudentCheck) {\n            \/\/ If age is above 18, show checkbox \"Enrolled in higher studies\"\n            $(\"[name='education4']\").fadeIn();\n        } else {\n            $(\"[name='education4']\").fadeOut(function() {\n                $(\"#family-children-4-education\").prop(\"checked\", false);\n            });\n        }\n    }\n});\n\n\n                    $('#family-children-5-dob').datepicker({\n                dateFormat: 'dd\/mm\/yy'\n            });\n            $('#family-children-5-dob').on('input', function() {\n                $(this).trigger('change');\n            })\n            $('#family-children-5-dob').keyup(function() {\n    var dobValue = $(this).val();\n\n    \/\/ If the input is empty, hide the checkbox\n    if (dobValue.trim() === '') {\n        $(\"[name='education5']\").fadeOut(function() {\n            $(\"#family-children-5-education\").prop(\"checked\", false);\n        });\n        return; \/\/ Exit the function early\n    }\n\n    \/\/ Check if the input has 10 characters (assuming the date format is \"MM\/DD\/YYYY\" or similar)\n    if (dobValue.length >= 10) {\n        var today = new Date();\n        \/\/ Date 18 years ago\n        var dateStudentCheck = new Date(today.getFullYear() - 18, today.getMonth(), today.getDate());\n        var dob5Date = new Date(Date.parse($('#family-children-5-dob').datepicker('getDate')));\n\n        \/\/ If the child is older than 18\n        if (dob5Date <= dateStudentCheck) {\n            \/\/ If age is above 18, show checkbox \"Enrolled in higher studies\"\n            $(\"[name='education5']\").fadeIn();\n        } else {\n            $(\"[name='education5']\").fadeOut(function() {\n                $(\"#family-children-5-education\").prop(\"checked\", false);\n            });\n        }\n    }\n});\n\n\n            });\n\n    \/\/ Push data when calculator email submitted\n    document.querySelector('#bfc_kinder form').addEventListener('submit', function(event) {\n      event.preventDefault(); \/\/ Prevent the default form submission\n      window.dataLayer.push({\n        'event': 'calculator_result_mailed'\n      });\n    });\n    document.getElementById('backLink').addEventListener('click', function(event) {\n        var previousPageUrl = document.referrer;\n\n        if (previousPageUrl) {\n            window.location.href = previousPageUrl;\n        } else {\n            console.log(\"No referrer found or user navigated directly to the page.\");\n            event.preventDefault();\n        }\n    });\n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"forms.php","meta":{"inline_featured_image":false,"ghostkit_customizer_options":"","ghostkit_custom_css":"","ghostkit_custom_js_head":"","ghostkit_custom_js_foot":"","ghostkit_typography":"","footnotes":""},"class_list":["post-1063","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.staging.brusselsfamily.springbok.agency\/en\/wp-json\/wp\/v2\/pages\/1063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.staging.brusselsfamily.springbok.agency\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.staging.brusselsfamily.springbok.agency\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.staging.brusselsfamily.springbok.agency\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.staging.brusselsfamily.springbok.agency\/en\/wp-json\/wp\/v2\/comments?post=1063"}],"version-history":[{"count":13,"href":"https:\/\/www.staging.brusselsfamily.springbok.agency\/en\/wp-json\/wp\/v2\/pages\/1063\/revisions"}],"predecessor-version":[{"id":3526,"href":"https:\/\/www.staging.brusselsfamily.springbok.agency\/en\/wp-json\/wp\/v2\/pages\/1063\/revisions\/3526"}],"wp:attachment":[{"href":"https:\/\/www.staging.brusselsfamily.springbok.agency\/en\/wp-json\/wp\/v2\/media?parent=1063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}