Language Icon
Contact Form Get in Touch WhatsApp Logo Chat on Whatsapp Get Started Get Started Mobile App Always Available
Skip Questions
Individual Consultation (for Adult)
Individual Consultation (for Child / Teenager)
Couple Consultation
Family Consultation (parents and children; all ages)
',$("#content_div").html(n),div_fadein("#content_div"),change_div_padding()}},2e3)})},500)})},1e3))}),!1}function change_div_padding(){setTimeout(function(){if($("#content_div_inner").length){var e=$("#content_div_inner").css("height"),s=e.replace("px","");$("#content_div_left").length&&(s>500?$("#content_div_left").css("height",e):$("#content_div_left").css("height","500px"))}},1e3),$("html, body").animate({scrollTop:0},"slow")}function update_questionnaire(){return $.post("consultation-screening.php?get_screening_responses_recorded",{},function(e){(IsJsonString(e)?JSON.parse(e):"").error?(notify("ERROR saving responses. This error has been logged.",5),e=""):$("#consultation_screening").submit()}),!1}function check_unanswered_questions(){for(var e=1;e<$(".screen_question").length;e++)if(""==$("#questionnaire_response_"+e).val()&&(""==$("#prev_response_"+e).val()||$("#questionnaire_response_"+(e-1)).val()!=$("#prev_response_"+e).val()))return e;return 0}function skip_questions(){$.post("login.php?screening_complete",{},function(e){(IsJsonString(e)?JSON.parse(e):"").error?(notify("ERROR while loading consultants. This error has been logged.",5),e=""):$("#book-appointment-form").submit()})}function go_to_next_question(e,s){var n=$("#questionnaire_response_"+(parseInt(e)-1)).val(),t=$("#prev_response_"+e).val();""==n||$("#ind_"+(parseInt(e)-1)).find(".screening_question_checked").hasClass("checked")||$("#ind_"+(parseInt(e)-1)).find(".screening_question_checked").addClass("checked"),""!=t&&n==t&&($("#questionnaire_response_"+e).val($("#default_response_"+e).val()),$("#ind_"+e).find(".screening_question_checked").addClass("checked"),e=parseInt(e)+1),$(".screen_question").css("display","none");var i=$("#questionnaire_response_"+e).val();if(void 0!==i&&""!=i)for(var a=i.split(","),o=0;o>"):$("#next_screening label").text("Next Question >>"),$("#next_screening label").attr("name",e)),$("#next_screening").css("display","block"),!1}window.history.scrollRestoration="manual",window.scrollTo(0,0),$(document).on("click",".matching_tile",function(e){e.stopImmediatePropagation(),e.preventDefault();var s=$(this).attr("name");return $(".about_additional_counsellor_body").html('
Please wait for details to be loaded
'),$(".book_appointment_with_counsellor").prop("disabled",!1),bootstrap.Modal.getOrCreateInstance(document.getElementById("about_additional_counsellor")).show(),$.post("consultant.php?additional_information",{encryptedstring:s,show_in_modal:"Y"},function(e){$(".about_additional_counsellor_body").html(e)}),!1}),$(document).on("click",".book_matching_session",function(e){e.stopImmediatePropagation(),e.preventDefault();var s=$(this).attr("name");return $("#book-appointment-form input[name=counsellorid]").val(s),$("#book-appointment-form").submit(),!1}),$(document).on("click",".counsellor_details",function(e){e.stopImmediatePropagation(),e.preventDefault();var s=$(this).attr("name");return $(".about_additional_counsellor_body").html('
Please wait for details to be loaded
'),$(".book_appointment_with_counsellor").prop("disabled",!1),bootstrap.Modal.getOrCreateInstance(document.getElementById("about_additional_counsellor")).show(),$.post("consultant.php?additional_information",{encryptedstring:s,show_in_modal:"Y"},function(e){$(".about_additional_counsellor_body").html(e)}),!1}),$(document).on("click",".show_all_counsellors",function(e){$("#book-appointment-form input[name=reservation_id]").val("0"),$("#book-appointment-form input[name=duration]").val("60"),$("#book-appointment-form input[name=force_nav]").val("0"),$("#book-appointment-form input[name=by_consultants]").val("Y"),$("#book-appointment-form").submit()}),$("#content_div_right").css("min-height","450px"),$("#content_div").css("min-height","max-content"),$(document).on("click",".w-10",function(e){e.stopImmediatePropagation(),e.preventDefault(),skip_questions()}),$(document).on("click",".w-9",function(e){e.stopImmediatePropagation(),e.preventDefault();var s=$(this).attr("name");$("#next_screening").css("display","none"),go_to_next_question(s,!0)}),$(document).on("click","#next_screening label",function(e){e.stopImmediatePropagation(),e.preventDefault();var s=$(this).attr("name");if(""==(prev_responses_recorded=$("#questionnaire_response_"+s).val())||$("#ind_"+s).find(".screening_question_checked").hasClass("checked")||$("#ind_"+s).find(".screening_question_checked").addClass("checked"),$("#question_"+s).hasClass("final")){var n=check_unanswered_questions();0==n?($("#indicator_parent").css("display","none"),$(".box_top_div h1").html("We are caught up"),$("#question_"+s).css("display","none"),$("#question_end").css("display","block"),$("#app_screening_title").css("display","none"),$("#next_screening").css("display","none"),proceed_after_screening()):go_to_next_question(n)}else go_to_next_question(parseInt(s)+1,!1)}),$(document).on("click",".question_option-half",function(e){e.stopImmediatePropagation();var s=parseInt($(this).attr("data-attr")),n=$("#question_response_type_"+s).val();"1"==n&&$(".question_option-half").removeClass("selected");var t=!1;$(this).hasClass("selected")&&(t=!0),$(this).toggleClass("selected");var i=$(".question_option-half.selected").length,a=$("#questionnaire_response_"+s).val();if("1"==n)$("#questionnaire_response_"+s).val($(this).attr("name"));else if(t){var o=$("#questionnaire_response_"+s).val();o=(o=o.replaceAll($(this).attr("name"),"")).replaceAll(",,",","),$("#questionnaire_response_"+s).val(o)}else{$("#questionnaire_response_"+s).val(""==a?$(this).attr("name"):a+","+$(this).attr("name"));var o=$("#questionnaire_response_"+s).val();o=o.replaceAll(",,",","),$("#questionnaire_response_"+s).val(o)}return i>0&&(""!=$("#end_questions_"+s).val()?$("#next_screening label").text("Show me the results >>"):$("#next_screening label").text("Next Question >>"),$("#next_screening").css("display","block"),$("#next_screening label").attr("name",s)),!1}),$(document).on("click",".question_option",function(e){e.stopImmediatePropagation();var s=parseInt($(this).attr("data-attr"));if(1==$("#question_response_type_"+s).val()){$(".question_option").removeClass("selected"),$(this).toggleClass("selected"),$("#questionnaire_response_"+s).val($(this).attr("name"));var n=$("#end_questions_"+s).val();""!=n?$("#next_screening label").text("Show me the results >>"):$("#next_screening label").text("Next Question >>"),$("#next_screening").css("display","block"),$("#next_screening label").attr("name",s),""==(prev_responses_recorded=$("#questionnaire_response_"+s).val())||$("#ind_"+s).find(".screening_question_checked").hasClass("checked")||$("#ind_"+s).find(".screening_question_checked").addClass("checked")}else{$(this).toggleClass("selected");var t=$(".question_option.selected").length,i=$("#questionnaire_response_"+s).val();if($("#questionnaire_response_"+s).val(""==i?$(this).attr("name"):i+","+$(this).attr("name")),t>0){var n=$("#end_questions_"+s).val();""!=n?$("#next_screening label").text("Show me the results >>"):$("#next_screening label").text("Next Question >>"),$("#next_screening").css("display","block"),$("#next_screening label").attr("name",s)}}return!1});

Stay updated with notifications from the The Able Mind. Click Allow to subscribe.