@php 
    $parent_or_guardian = $dataObj->parent_or_guardian ?? '';
    $fi_method_paymentArr = $fi_fin_matrArr = $mh_tickArr = [];
@endphp
<div class="row">
    <form action="{{ $route }}" name="new_patient" id="new_patient" method="post">
        {{ csrf_field() }}
        <x-form.field.hidden name="recaptcha_v3" id="recaptcha_v3" />
        <x-form.field.hidden name="page_ref" id="page_ref" value="{{ url()->full() }}" />
        <div class="elementor-form-fields-wrapper elementor-labels- row">
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_da1bb63 col-md-12">
                <b>Patient Information</b>
            </div>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_e840a35 col-md-7">
                <p>{{ __('enquiry.new_form.parent_or_guardian_txt') }}</p>
            </div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-parentOrGuardian col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('parent_or_guardian') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="parent_or_guardian-1" name="parent_or_guardian" @if((old('parent_or_guardian') =='1') || (!empty($parent_or_guardian) && $parent_or_guardian =='1')) checked @endif>
                    <label for="parent_or_guardian-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="parent_or_guardian-2" name="parent_or_guardian" @if((old('parent_or_guardian') =='2') || (!empty($parent_or_guardian) && $parent_or_guardian =='2')) checked @endif>
                    <label for="parent_or_guardian-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medical_alert col-md-12" error="{{ $errors->first('medical_alert') }}" label="{{ __('enquiry.new_form.medical_alert_txt') }}">
                <x-form.field.text2 id="medical_alert" name="medical_alert" placeholder="{{ __('enquiry.new_form.medical_alert_txt') }}"  value="{{ old('medical_alert') ?? $dataObj->medical_alert ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-first_name elementor-col-33 form-control-required" error="{{ $errors->first('first_name') }}" label="{{ __('enquiry.f_name_txt') }}" required="true">
                <x-form.field.text2 id="first_name" name="first_name" placeholder="{{ __('enquiry.f_name_txt') }}"  value="{{ old('first_name') ?? $dataObj->first_name ?? '' }}" class="form-control elementor-size-xs  form-control-textual" required/>
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-p_i_name elementor-col-33" error="{{ $errors->first('p_i_name') }}" label="{{ __('enquiry.i_name_txt') }}">
                <x-form.field.text2 id="p_i_name" name="p_i_name" placeholder="{{ __('enquiry.i_name_txt') }}"  value="{{ old('p_i_name') ?? $dataObj->p_i_name ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-l_name elementor-col-33" error="{{ $errors->first('l_name') }}" label="{{ __('enquiry.l_name_txt') }}">
                <x-form.field.text2 id="l_name" name="l_name" placeholder="{{ __('enquiry.l_name_txt') }}"  value="{{ old('l_name') ?? $dataObj->l_name ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-p_dob elementor-col-33" error="{{ $errors->first('p_dob') }}" label="{{ __('enquiry.new_form.dob_txt') }}">
                <x-form.field.text2 type="date" id="p_dob" name="p_dob" placeholder="{{ __('enquiry.new_form.dob_txt') }}"  value="{{ old('p_dob') ?? $dataObj->p_dob ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-p_street elementor-col-33" error="{{ $errors->first('p_street') }}" label="{{ __('enquiry.new_form.street_txt') }}">
                <x-form.field.text2 id="p_street" name="p_street" placeholder="{{ __('enquiry.new_form.street_txt') }}"  value="{{ old('p_street') ?? $dataObj->p_street ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-p_apt elementor-col-33" error="{{ $errors->first('p_apt') }}" label="{{ __('enquiry.new_form.apt_txt') }}">
                <x-form.field.text2 id="p_apt" name="p_apt" placeholder="{{ __('enquiry.new_form.apt_txt') }}"  value="{{ old('p_apt') ?? $dataObj->p_apt ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-p_city elementor-col-33" error="{{ $errors->first('p_city') }}" label="{{ __('enquiry.city_txt') }}">
                <x-form.field.text2 id="p_city" name="p_city" placeholder="{{ __('enquiry.city_txt') }}"  value="{{ old('p_city') ?? $dataObj->p_city ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-p_prov elementor-col-33" error="{{ $errors->first('p_prov') }}" label="{{ __('enquiry.new_form.prov_txt') }}">
                <x-form.field.text2 id="p_prov" name="p_prov" placeholder="{{ __('enquiry.new_form.prov_txt') }}"  value="{{ old('p_prov') ?? $dataObj->p_prov ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-p_postal elementor-col-33" error="{{ $errors->first('p_postal') }}" label="{{ __('enquiry.postal_code_txt') }}">
                <x-form.field.text2 id="p_postal" name="p_postal" placeholder="{{ __('enquiry.postal_code_txt') }}"  value="{{ old('p_postal') ?? $dataObj->p_postal ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>


            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-p_h_tel elementor-col-33" error="{{ $errors->first('p_h_tel') }}" label="{{ __('enquiry.new_form.home_tel_txt') }}">
                <x-form.field.text2 id="p_h_tel" name="p_h_tel" placeholder="{{ __('enquiry.new_form.home_tel_txt') }}"  value="{{ old('p_h_tel') ?? $dataObj->p_h_tel ?? '' }}" class="form-control elementor-size-xs  form-control-textual" pattern="[0-9()#&amp;+*-=.]+" title="Only numbers and phone characters (#, -, *, etc) are accepted."/>
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-p_w_tel elementor-col-33" error="{{ $errors->first('p_w_tel') }}" label="{{ __('enquiry.new_form.work_tel_txt') }}">
                <x-form.field.text2 id="p_w_tel" name="p_w_tel" placeholder="{{ __('enquiry.new_form.work_tel_txt') }}"  value="{{ old('p_w_tel') ?? $dataObj->p_w_tel ?? '' }}" class="form-control elementor-size-xs  form-control-textual" pattern="[0-9()#&amp;+*-=.]+" title="Only numbers and phone characters (#, -, *, etc) are accepted."/>
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-p_cell elementor-col-33" error="{{ $errors->first('p_cell') }}" label="{{ __('enquiry.new_form.cell_txt') }}" required="true">
                <x-form.field.text2 id="p_cell" name="p_cell" placeholder="{{ __('enquiry.new_form.cell_txt') }}"  value="{{ old('p_cell') ?? $dataObj->p_cell ?? '' }}" class="form-control elementor-size-xs  form-control-textual" pattern="[0-9()#&amp;+*-=.]+" title="Only numbers and phone characters (#, -, *, etc) are accepted." required/>
            </x-form.frnt_group_lyt7v1>


            <x-form.frnt_group_lyt7v1 default_class="form-control-type-email form-control-group elementor-column form-control-group-email col-md-6 form-control-required" error="{{ $errors->first('email') }}" label="{{ __('enquiry.new_form.email_txt') }}" required="true">
                <x-form.field.text2 type="email" id="email" name="email" placeholder="{{ __('enquiry.new_form.email_txt') }}"  value="{{ old('email') ?? $dataObj->email ?? '' }}" class="form-control elementor-size-xs  form-control-textual" required/>
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-p_referred_by form-control-group elementor-column form-control-group-p_referred_by col-md-6 " error="{{ $errors->first('p_referred_by') }}" label="{{ __('enquiry.new_form.referred_by_txt') }}" >
                <x-form.field.text2 id="p_referred_by" name="p_referred_by" placeholder="{{ __('enquiry.new_form.referred_by_txt') }}"  value="{{ old('p_referred_by') ?? $dataObj->p_referred_by ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>


            <x-form.frnt_group_lyt7v1 default_class="form-control-type-p_emrg_cnt form-control-group elementor-column form-control-group-p_emrg_cnt col-md-6 " error="{{ $errors->first('p_emrg_cnt') }}" label="{{ __('enquiry.new_form.emergency_contact_txt') }}" >
                <x-form.field.text2 id="p_emrg_cnt" name="p_emrg_cnt" placeholder="{{ __('enquiry.new_form.emergency_contact_txt') }}"  value="{{ old('p_emrg_cnt') ?? $dataObj->p_emrg_cnt ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-p_emrg_tel form-control-group elementor-column form-control-group-p_emrg_tel col-md-6 " error="{{ $errors->first('p_emrg_tel') }}" label="{{ __('enquiry.new_form.tel_txt') }}" >
                <x-form.field.text2 id="p_emrg_tel" name="p_emrg_tel" placeholder="{{ __('enquiry.new_form.tel_txt') }}"  value="{{ old('p_emrg_tel') ?? $dataObj->p_emrg_tel ?? '' }}" class="form-control elementor-size-xs  form-control-textual" pattern="[0-9()#&amp;+*-=.]+" title="Only numbers and phone characters (#, -, *, etc) are accepted."/>
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-p_fmly_doc form-control-group elementor-column form-control-group-p_fmly_doc col-md-6 " error="{{ $errors->first('p_fmly_doc') }}" label="{{ __('enquiry.new_form.family_doctor_txt') }}" >
                <x-form.field.text2 id="p_fmly_doc" name="p_fmly_doc" placeholder="{{ __('enquiry.new_form.family_doctor_txt') }}"  value="{{ old('p_fmly_doc') ?? $dataObj->p_fmly_doc ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-p_fmly_doc_tel form-control-group elementor-column form-control-group-p_fmly_doc_tel col-md-6 " error="{{ $errors->first('p_fmly_doc_tel') }}" label="{{ __('enquiry.new_form.tel_txt') }}" >
                <x-form.field.text2 id="p_fmly_doc_tel" name="p_fmly_doc_tel" placeholder="{{ __('enquiry.new_form.tel_txt') }}"  value="{{ old('p_fmly_doc_tel') ?? $dataObj->p_fmly_doc_tel ?? '' }}" class="form-control elementor-size-xs  form-control-textual" pattern="[0-9()#&amp;+*-=.]+" title="Only numbers and phone characters (#, -, *, etc) are accepted."/>
            </x-form.frnt_group_lyt7v1>

            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_aa4b984 col-md-12">
                <b>Financial Information</b>
            </div>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_4d7aa59 col-md-12">Method of Payment  </div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-checkbox form-control-group elementor-column form-control-group-fi_method_payment col-md-12" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('fi_method_payment') }}">
                <span class="form-control-option">
                    <input type="checkbox" value="Cash" id="fi_method_payment-0" name="fi_method_payment[]" @if( (!empty(old('fi_method_payment')) && in_array('Cash',old('fi_method_payment'))) || (!empty($fi_method_paymentArr) && in_array('Cash', $fi_method_paymentArr)) ) checked @endif >
                    <label for="fi_method_payment-0">Cash</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Credit-Card" id="fi_method_payment-1" name="fi_method_payment[]" @if( (!empty(old('fi_method_payment')) && in_array('Credit-Card',old('fi_method_payment'))) || (!empty($fi_method_paymentArr) && in_array('Credit-Card', $fi_method_paymentArr)) ) checked @endif >
                    <label for="fi_method_payment-1">Credit Card</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Insurance" id="fi_method_payment-2" name="fi_method_payment[]" @if( (!empty(old('fi_method_payment')) && in_array('Insurance',old('fi_method_payment'))) || (!empty($fi_method_paymentArr) && in_array('Insurance', $fi_method_paymentArr)) ) checked @endif>
                    <label for="fi_method_payment-2">Insurance</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Others" id="fi_method_payment-3" name="fi_method_payment[]" @if( (!empty(old('fi_method_payment')) && in_array('Others',old('fi_method_payment'))) || (!empty($fi_method_paymentArr) && in_array('Others', $fi_method_paymentArr)) ) checked @endif>
                    <label for="fi_method_payment-3">Others</label>
                </span>
            </x-form.frnt_group_lyt7v2>


            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_c3d885c col-md-12">Person responsible for financial matters </div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-checkbox form-control-group elementor-column form-control-group-fi_fin_matr col-md-12" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('fi_method_payment') }}">
                <span class="form-control-option">
                    <input type="checkbox" value="Self" id="fi_fin_matr-0" name="fi_fin_matr[]" @if( (!empty(old('fi_fin_matr')) && in_array('Self',old('fi_fin_matr'))) || (!empty($fi_fin_matrArr) && in_array('Self', $fi_fin_matrArr)) ) checked @endif >
                    <label for="fi_fin_matr-0">Self</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Spouse" id="fi_fin_matr-1" name="fi_fin_matr[]" @if( (!empty(old('fi_fin_matr')) && in_array('Spouse',old('fi_fin_matr'))) || (!empty($fi_fin_matrArr) && in_array('Spouse', $fi_fin_matrArr)) ) checked @endif >
                    <label for="fi_fin_matr-1">Spouse</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Parent/Guardian" id="fi_fin_matr-2" name="fi_fin_matr[]" @if( (!empty(old('fi_fin_matr')) && in_array('Parent/Guardian',old('fi_fin_matr'))) || (!empty($fi_fin_matrArr) && in_array('Parent/Guardian', $fi_fin_matrArr)) ) checked @endif>
                    <label for="fi_fin_matr-2">Parent/Guardian</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Others" id="fi_fin_matr-3" name="fi_fin_matr[]" @if( (!empty(old('fi_fin_matr')) && in_array('Others',old('fi_fin_matr'))) || (!empty($fi_fin_matrArr) && in_array('Others', $fi_fin_matrArr)) ) checked @endif>
                    <label for="fi_fin_matr-3">Others</label>
                </span>
            </x-form.frnt_group_lyt7v2>

            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_f712d52 col-md-12">
                <b>If Different From Above</b>
            </div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dfa_f_name elementor-col-33 form-control-required" error="{{ $errors->first('dfa_f_name') }}" label="{{ __('enquiry.f_name_txt') }}" >
                <x-form.field.text2 id="dfa_f_name" name="dfa_f_name" placeholder="{{ __('enquiry.f_name_txt') }}"  value="{{ old('dfa_f_name') ?? $dataObj->dfa_f_name ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dfa_i_name elementor-col-33" error="{{ $errors->first('dfa_i_name') }}" label="{{ __('enquiry.i_name_txt') }}">
                <x-form.field.text2 id="dfa_i_name" name="dfa_i_name" placeholder="{{ __('enquiry.i_name_txt') }}"  value="{{ old('dfa_i_name') ?? $dataObj->dfa_i_name ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dfa_l_name elementor-col-33" error="{{ $errors->first('dfa_l_name') }}" label="{{ __('enquiry.l_name_txt') }}">
                <x-form.field.text2 id="dfa_l_name" name="dfa_l_name" placeholder="{{ __('enquiry.l_name_txt') }}"  value="{{ old('dfa_l_name') ?? $dataObj->dfa_l_name ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-dfa_dob elementor-col-33" error="{{ $errors->first('dfa_dob') }}" label="{{ __('enquiry.new_form.dob_txt') }}">
                <x-form.field.text2 type="date" id="dfa_dob" name="dfa_dob" placeholder="{{ __('enquiry.new_form.dob_txt') }}"  value="{{ old('dfa_dob') ?? $dataObj->dfa_dob ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dfa_address elementor-col-33" error="{{ $errors->first('dfa_address') }}" label="{{ __('enquiry.address_txt') }}">
                <x-form.field.text2 id="dfa_address" name="dfa_address" placeholder="{{ __('enquiry.address_txt') }}"  value="{{ old('dfa_address') ?? $dataObj->dfa_address ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dfa_apt elementor-col-33" error="{{ $errors->first('dfa_apt') }}" label="{{ __('enquiry.new_form.apt_txt') }}">
                <x-form.field.text2 id="dfa_apt" name="dfa_apt" placeholder="{{ __('enquiry.new_form.apt_txt') }}"  value="{{ old('dfa_apt') ?? $dataObj->dfa_apt ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-dfa_city elementor-col-33" error="{{ $errors->first('dfa_city') }}" label="{{ __('enquiry.city_txt') }}">
                <x-form.field.text2 id="dfa_city" name="dfa_city" placeholder="{{ __('enquiry.city_txt') }}"  value="{{ old('dfa_city') ?? $dataObj->dfa_city ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dfa_prov elementor-col-33" error="{{ $errors->first('dfa_prov') }}" label="{{ __('enquiry.new_form.prov_txt') }}">
                <x-form.field.text2 id="dfa_prov" name="dfa_prov" placeholder="{{ __('enquiry.new_form.prov_txt') }}"  value="{{ old('dfa_prov') ?? $dataObj->dfa_prov ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dfa_postal elementor-col-33" error="{{ $errors->first('dfa_postal') }}" label="{{ __('enquiry.postal_code_txt') }}">
                <x-form.field.text2 id="dfa_postal" name="dfa_postal" placeholder="{{ __('enquiry.postal_code_txt') }}"  value="{{ old('dfa_postal') ?? $dataObj->dfa_postal ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-dfa_hom_tel elementor-col-33" error="{{ $errors->first('dfa_hom_tel') }}" label="{{ __('enquiry.new_form.home_tel_txt') }}">
                <x-form.field.text2 id="dfa_hom_tel" name="dfa_hom_tel" placeholder="{{ __('enquiry.new_form.home_tel_txt') }}"  value="{{ old('dfa_hom_tel') ?? $dataObj->dfa_hom_tel ?? '' }}" class="form-control elementor-size-xs  form-control-textual" pattern="[0-9()#&amp;+*-=.]+" title="Only numbers and phone characters (#, -, *, etc) are accepted."/>
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-dfa_wrk_tel elementor-col-33" error="{{ $errors->first('dfa_wrk_tel') }}" label="{{ __('enquiry.new_form.work_tel_txt') }}">
                <x-form.field.text2 id="dfa_wrk_tel" name="dfa_wrk_tel" placeholder="{{ __('enquiry.new_form.work_tel_txt') }}"  value="{{ old('dfa_wrk_tel') ?? $dataObj->dfa_wrk_tel ?? '' }}" class="form-control elementor-size-xs  form-control-textual" pattern="[0-9()#&amp;+*-=.]+" title="Only numbers and phone characters (#, -, *, etc) are accepted."/>
            </x-form.frnt_group_lyt7v1>

            <!--Primary Insurance-->
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_7fb3422 col-md-12">
            <b>Primary Insurance</b>
            </div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-pi_licno form-control-group elementor-column form-control-group-pi_licno col-md-6 " error="{{ $errors->first('pi_licno') }}" label="{{ __('enquiry.new_form.d_lic_txt') }}" >
                <x-form.field.text2 id="pi_licno" name="pi_licno" placeholder="{{ __('enquiry.new_form.d_lic_txt') }}"  value="{{ old('pi_licno') ?? $dataObj->pi_licno ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-pi_id form-control-group elementor-column form-control-group-pi_id col-md-6 " error="{{ $errors->first('pi_id') }}" label="{{ __('enquiry.new_form.id_txt') }}" >
                <x-form.field.text2 id="pi_id" name="pi_id" placeholder="{{ __('enquiry.new_form.id_txt') }}"  value="{{ old('pi_id') ?? $dataObj->pi_id ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-pi_ins_comp form-control-group elementor-column form-control-group-pi_ins_comp col-md-6 " error="{{ $errors->first('pi_ins_comp') }}" label="{{ __('enquiry.new_form.ins_comp_txt') }}" >
                <x-form.field.text2 id="pi_ins_comp" name="pi_ins_comp" placeholder="{{ __('enquiry.new_form.ins_comp_txt') }}"  value="{{ old('pi_ins_comp') ?? $dataObj->pi_ins_comp ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-pi_employer form-control-group elementor-column form-control-group-pi_employer col-md-6 " error="{{ $errors->first('pi_employer') }}" label="{{ __('enquiry.new_form.employer_txt') }}" >
                <x-form.field.text2 id="pi_employer" name="pi_employer" placeholder="{{ __('enquiry.new_form.employer_txt') }}"  value="{{ old('pi_employer') ?? $dataObj->pi_employer ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-pi_pol_holder form-control-group elementor-column form-control-group-pi_pol_holder col-md-6 " error="{{ $errors->first('pi_pol_holder') }}" label="{{ __('enquiry.new_form.polcy_holdr_txt') }}" >
                <x-form.field.text2 id="pi_pol_holder" name="pi_pol_holder" placeholder="{{ __('enquiry.new_form.polcy_holdr_txt') }}"  value="{{ old('pi_pol_holder') ?? $dataObj->pi_pol_holder ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-pi_dob form-control-group elementor-column form-control-group-pi_dob col-md-6 " error="{{ $errors->first('pi_dob') }}" label="{{ __('enquiry.new_form.dob_txt') }}" >
                <x-form.field.text2 type="date" id="pi_dob" name="pi_dob" placeholder="{{ __('enquiry.new_form.dob_txt') }}"  value="{{ old('pi_dob') ?? $dataObj->pi_dob ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-pi_policy form-control-group elementor-column form-control-group-pi_policy col-md-6 " error="{{ $errors->first('pi_policy') }}" label="{{ __('enquiry.new_form.polcy_txt') }}" >
                <x-form.field.text2 id="pi_policy" name="pi_policy" placeholder="{{ __('enquiry.new_form.polcy_txt') }}"  value="{{ old('pi_policy') ?? $dataObj->pi_policy ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-pi_certificate form-control-group elementor-column form-control-group-pi_certificate col-md-6 " error="{{ $errors->first('pi_certificate') }}" label="{{ __('enquiry.new_form.cert_txt') }}" >
                <x-form.field.text2 id="pi_certificate" name="pi_certificate" placeholder="{{ __('enquiry.new_form.cert_txt') }}"  value="{{ old('pi_certificate') ?? $dataObj->pi_certificate ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>

            <!--Secondary Insurance-->
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_0a4eaec col-md-12">
            <b>Secondary Insurance</b>
            </div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-si_inc_comp form-control-group elementor-column form-control-group-si_inc_comp col-md-6 " error="{{ $errors->first('si_inc_comp') }}" label="{{ __('enquiry.new_form.ins_comp_txt') }}" >
                <x-form.field.text2 id="si_inc_comp" name="si_inc_comp" placeholder="{{ __('enquiry.new_form.ins_comp_txt') }}"  value="{{ old('si_inc_comp') ?? $dataObj->si_inc_comp ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-si_employer form-control-group elementor-column form-control-group-si_employer col-md-6 " error="{{ $errors->first('si_employer') }}" label="{{ __('enquiry.new_form.employer_txt') }}" >
                <x-form.field.text2 id="si_employer" name="si_employer" placeholder="{{ __('enquiry.new_form.employer_txt') }}"  value="{{ old('si_employer') ?? $dataObj->si_employer ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-si_polc_holder form-control-group elementor-column form-control-group-si_polc_holder col-md-6 " error="{{ $errors->first('si_polc_holder') }}" label="{{ __('enquiry.new_form.polcy_holdr_txt') }}" >
                <x-form.field.text2 id="si_polc_holder" name="si_polc_holder" placeholder="{{ __('enquiry.new_form.polcy_holdr_txt') }}"  value="{{ old('si_polc_holder') ?? $dataObj->si_polc_holder ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-si_dob form-control-group elementor-column form-control-group-si_dob col-md-6 " error="{{ $errors->first('si_dob') }}" label="{{ __('enquiry.new_form.dob_txt') }}" >
                <x-form.field.text2 type="date" id="si_dob" name="si_dob" placeholder="{{ __('enquiry.new_form.dob_txt') }}"  value="{{ old('si_dob') ?? $dataObj->si_dob ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-si_policy form-control-group elementor-column form-control-group-si_policy col-md-6 " error="{{ $errors->first('si_policy') }}" label="{{ __('enquiry.new_form.polcy_txt') }}" >
                <x-form.field.text2 id="si_policy" name="si_policy" placeholder="{{ __('enquiry.new_form.polcy_txt') }}"  value="{{ old('si_policy') ?? $dataObj->si_policy ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-si_certificate form-control-group elementor-column form-control-group-si_certificate col-md-6 " error="{{ $errors->first('si_certificate') }}" label="{{ __('enquiry.new_form.cert_txt') }}" >
                <x-form.field.text2 id="si_certificate" name="si_certificate" placeholder="{{ __('enquiry.new_form.cert_txt') }}"  value="{{ old('si_certificate') ?? $dataObj->si_certificate ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>

            <!--Medical History-->
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_9336a39 col-md-12">
                <b>Medical History</b>
            </div>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">1.  {{ __('enquiry.new_form.mh_physician_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_physician col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_physician') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_physician-1" name="mh_physician" @if((old('mh_physician') =='1') || (!empty($dataObj->mh_physician) && $dataObj->mh_physician =='1')) checked @endif>
                    <label for="mh_physician-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_physician-2" name="mh_physician" @if((old('mh_physician') =='2') || (!empty($dataObj->mh_physician) && $dataObj->mh_physician =='2')) checked @endif>
                    <label for="mh_physician-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">2.  {{ __('enquiry.new_form.mh_hospitalized_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_hospitalized col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_hospitalized') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_hospitalized-1" name="mh_hospitalized" @if((old('mh_hospitalized') =='1') || (!empty($dataObj->mh_hospitalized) && $dataObj->mh_hospitalized =='1')) checked @endif>
                    <label for="mh_hospitalized-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_hospitalized-2" name="mh_hospitalized" @if((old('mh_hospitalized') =='2') || (!empty($dataObj->mh_hospitalized) && $dataObj->mh_hospitalized =='2')) checked @endif>
                    <label for="mh_hospitalized-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">3.  {{ __('enquiry.new_form.mh_med_chk_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-mh_med_chk col-md-5" error="{{ $errors->first('mh_med_chk') }}" >
                <x-form.field.text2 id="mh_med_chk" name="mh_med_chk"  value="{{ old('mh_med_chk') ?? $dataObj->mh_med_chk ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">4.  {{ __('enquiry.new_form.mh_medication_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_medication col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_medication') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_medication-1" name="mh_medication" @if((old('mh_medication') =='1') || (!empty($dataObj->mh_medication) && $dataObj->mh_medication =='1')) checked @endif>
                    <label for="mh_medication-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_medication-2" name="mh_medication" @if((old('mh_medication') =='2') || (!empty($dataObj->mh_medication) && $dataObj->mh_medication =='2')) checked @endif>
                    <label for="mh_medication-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">5.  {{ __('enquiry.new_form.mh_allergies_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-mh_allergies col-md-5" error="{{ $errors->first('mh_allergies') }}" >
                <x-form.field.text2 id="mh_allergies" name="mh_allergies"  value="{{ old('mh_allergies') ?? $dataObj->mh_allergies ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_c3d885c col-md-12">{{ __('enquiry.new_form.mh_tick_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-checkbox form-control-group elementor-column form-control-group-mh_tick col-md-12" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_tick') }}">
                <span class="form-control-option">
                    <input type="checkbox" value="None" id="mh_tick-0" name="mh_tick[]" @if( (!empty(old('mh_tick')) && in_array('None',old('mh_tick'))) || (!empty($mh_tickArr) && in_array('None', $mh_tickArr)) ) checked @endif >
                    <label for="mh_tick-0">None</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Local-Anesthetic" id="mh_tick-1" name="mh_tick[]" @if( (!empty(old('mh_tick')) && in_array('Local-Anesthetic',old('mh_tick'))) || (!empty($mh_tickArr) && in_array('Local-Anesthetic', $mh_tickArr)) ) checked @endif >
                    <label for="mh_tick-1">Local Anesthetic</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Latex/Rubber" id="mh_tick-2" name="mh_tick[]" @if( (!empty(old('mh_tick')) && in_array('Latex/Rubber',old('mh_tick'))) || (!empty($mh_tickArr) && in_array('Latex/Rubber', $mh_tickArr)) ) checked @endif>
                    <label for="mh_tick-2">Latex/Rubber</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Antibiotics" id="mh_tick-3" name="mh_tick[]" @if( (!empty(old('mh_tick')) && in_array('Antibiotics',old('mh_tick'))) || (!empty($mh_tickArr) && in_array('Antibiotics', $mh_tickArr)) ) checked @endif>
                    <label for="mh_tick-3">Antibiotics</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Others" id="mh_tick-4" name="mh_tick[]" @if( (!empty(old('mh_tick')) && in_array('Others',old('mh_tick'))) || (!empty($mh_tickArr) && in_array('Others', $mh_tickArr)) ) checked @endif>
                    <label for="mh_tick-4">Others</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">6.  {{ __('enquiry.new_form.mh_bleeding_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_bleeding col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_bleeding') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_bleeding-1" name="mh_bleeding" @if((old('mh_bleeding') =='1') || (!empty($dataObj->mh_bleeding) && $dataObj->mh_bleeding =='1')) checked @endif>
                    <label for="mh_bleeding-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_bleeding-2" name="mh_bleeding" @if((old('mh_bleeding') =='2') || (!empty($dataObj->mh_bleeding) && $dataObj->mh_bleeding =='2')) checked @endif>
                    <label for="mh_bleeding-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">7.  {{ __('enquiry.new_form.mh_asthma_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_asthma col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_asthma') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_asthma-1" name="mh_asthma" @if((old('mh_asthma') =='1') || (!empty($dataObj->mh_asthma) && $dataObj->mh_asthma =='1')) checked @endif>
                    <label for="mh_asthma-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_asthma-2" name="mh_asthma" @if((old('mh_asthma') =='2') || (!empty($dataObj->mh_asthma) && $dataObj->mh_asthma =='2')) checked @endif>
                    <label for="mh_asthma-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">8.  {{ __('enquiry.new_form.mh_heart_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_heart col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_heart') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_heart-1" name="mh_heart" @if((old('mh_heart') =='1') || (!empty($dataObj->mh_heart) && $dataObj->mh_heart =='1')) checked @endif>
                    <label for="mh_heart-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_heart-2" name="mh_heart" @if((old('mh_heart') =='2') || (!empty($dataObj->mh_heart) && $dataObj->mh_heart =='2')) checked @endif>
                    <label for="mh_heart-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>

            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">9.  {{ __('enquiry.new_form.mh_heart_transplant_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_heart_transplant col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_heart_transplant') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_heart_transplant-1" name="mh_heart_transplant" @if((old('mh_heart_transplant') =='1') || (!empty($dataObj->mh_heart_transplant) && $dataObj->mh_heart_transplant =='1')) checked @endif>
                    <label for="mh_heart_transplant-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_heart_transplant-2" name="mh_heart_transplant" @if((old('mh_heart_transplant') =='2') || (!empty($dataObj->mh_heart_transplant) && $dataObj->mh_heart_transplant =='2')) checked @endif>
                    <label for="mh_heart_transplant-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">10.  {{ __('enquiry.new_form.mh_prosthetic_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_prosthetic col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_prosthetic') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_prosthetic-1" name="mh_prosthetic" @if((old('mh_prosthetic') =='1') || (!empty($dataObj->mh_prosthetic) && $dataObj->mh_prosthetic =='1')) checked @endif>
                    <label for="mh_prosthetic-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_prosthetic-2" name="mh_prosthetic" @if((old('mh_prosthetic') =='2') || (!empty($dataObj->mh_prosthetic) && $dataObj->mh_prosthetic =='2')) checked @endif>
                    <label for="mh_prosthetic-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">11.  {{ __('enquiry.new_form.mh_immune_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_immune col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_immune') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_immune-1" name="mh_immune" @if((old('mh_immune') =='1') || (!empty($dataObj->mh_immune) && $dataObj->mh_immune =='1')) checked @endif>
                    <label for="mh_immune-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_immune-2" name="mh_immune" @if((old('mh_immune') =='2') || (!empty($dataObj->mh_immune) && $dataObj->mh_immune =='2')) checked @endif>
                    <label for="mh_immune-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">12.  {{ __('enquiry.new_form.mh_hepatitis_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_hepatitis col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_hepatitis') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_hepatitis-1" name="mh_hepatitis" @if((old('mh_hepatitis') =='1') || (!empty($dataObj->mh_hepatitis) && $dataObj->mh_hepatitis =='1')) checked @endif>
                    <label for="mh_hepatitis-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_hepatitis-2" name="mh_hepatitis" @if((old('mh_hepatitis') =='2') || (!empty($dataObj->mh_hepatitis) && $dataObj->mh_hepatitis =='2')) checked @endif>
                    <label for="mh_hepatitis-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">13.  {{ __('enquiry.new_form.mh_any_diseases_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_any_diseases col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_any_diseases') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_any_diseases-1" name="mh_any_diseases" @if((old('mh_any_diseases') =='1') || (!empty($dataObj->mh_any_diseases) && $dataObj->mh_any_diseases =='1')) checked @endif>
                    <label for="mh_any_diseases-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_any_diseases-2" name="mh_any_diseases" @if((old('mh_any_diseases') =='2') || (!empty($dataObj->mh_any_diseases) && $dataObj->mh_any_diseases =='2')) checked @endif>
                    <label for="mh_any_diseases-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">14.  {{ __('enquiry.new_form.mh_smoke_per_day_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_smoke_per_day col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_smoke_per_day') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_smoke_per_day-1" name="mh_smoke_per_day" @if((old('mh_smoke_per_day') =='1') || (!empty($dataObj->mh_smoke_per_day) && $dataObj->mh_smoke_per_day =='1')) checked @endif>
                    <label for="mh_smoke_per_day-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_smoke_per_day-2" name="mh_smoke_per_day" @if((old('mh_smoke_per_day') =='2') || (!empty($dataObj->mh_smoke_per_day) && $dataObj->mh_smoke_per_day =='2')) checked @endif>
                    <label for="mh_smoke_per_day-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">15.  {{ __('enquiry.new_form.mh_fainted_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_fainted col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_fainted') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_fainted-1" name="mh_fainted" @if((old('mh_fainted') =='1') || (!empty($dataObj->mh_fainted) && $dataObj->mh_fainted =='1')) checked @endif>
                    <label for="mh_fainted-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_fainted-2" name="mh_fainted" @if((old('mh_fainted') =='2') || (!empty($dataObj->mh_fainted) && $dataObj->mh_fainted =='2')) checked @endif>
                    <label for="mh_fainted-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_4067c71 col-md-12">
            16. <b>WOMEN</b> </div>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7"> {{ __('enquiry.new_form.mh_pregnant_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_pregnant col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_pregnant') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_pregnant-1" name="mh_pregnant" @if((old('mh_pregnant') =='1') || (!empty($dataObj->mh_pregnant) && $dataObj->mh_pregnant =='1')) checked @endif>
                    <label for="mh_pregnant-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_pregnant-2" name="mh_pregnant" @if((old('mh_pregnant') =='2') || (!empty($dataObj->mh_pregnant) && $dataObj->mh_pregnant =='2')) checked @endif>
                    <label for="mh_pregnant-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7"> {{ __('enquiry.new_form.mh_birth_control_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_birth_control col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_birth_control') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_birth_control-1" name="mh_birth_control" @if((old('mh_birth_control') =='1') || (!empty($dataObj->mh_birth_control) && $dataObj->mh_birth_control =='1')) checked @endif>
                    <label for="mh_birth_control-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_birth_control-2" name="mh_birth_control" @if((old('mh_birth_control') =='2') || (!empty($dataObj->mh_birth_control) && $dataObj->mh_birth_control =='2')) checked @endif>
                    <label for="mh_birth_control-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7"> {{ __('enquiry.new_form.mh_menopause_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-mh_menopause col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_menopause') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="mh_menopause-1" name="mh_menopause" @if((old('mh_menopause') =='1') || (!empty($dataObj->mh_menopause) && $dataObj->mh_menopause =='1')) checked @endif>
                    <label for="mh_menopause-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="mh_menopause-2" name="mh_menopause" @if((old('mh_menopause') =='2') || (!empty($dataObj->mh_menopause) && $dataObj->mh_menopause =='2')) checked @endif>
                    <label for="mh_menopause-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_c3d885c col-md-12">17. {{ __('enquiry.new_form.mh_ques_1_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-checkbox form-control-group elementor-column form-control-group-mh_ques_1 col-md-12" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('mh_ques_1') }}">
                <span class="form-control-option">
                    <input type="checkbox" value="Heart-Attack" id="mh_ques_1-0" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Heart-Attack',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Heart-Attack', $mh_ques_1Arr)) ) checked @endif >
                    <label for="mh_ques_1-0">Heart Attack</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Rheumatic-Fever" id="mh_ques_1-1" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Rheumatic-Fever',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Rheumatic-Fever', $mh_ques_1Arr)) ) checked @endif >
                    <label for="mh_ques_1-1">Rheumatic Fever</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Cancer" id="mh_ques_1-2" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Cancer',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Cancer', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-2">Cancer</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Steroid-Therapy" id="mh_ques_1-3" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Steroid-Therapy',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Steroid-Therapy', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-3">Steroid Therapy</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Stroke" id="mh_ques_1-4" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Stroke',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Stroke', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-4">Stroke</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Osteoporosis-Medications" id="mh_ques_1-5" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Osteoporosis-Medications',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Osteoporosis-Medications', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-5">Osteoporosis Medications</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Seizures(epilepsy)" id="mh_ques_1-6" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Seizures(epilepsy)',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Seizures(epilepsy)', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-6">Seizures(epilepsy)</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Arthritis" id="mh_ques_1-7" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Arthritis',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Arthritis', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-7">Arthritis</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Heart-Murmur" id="mh_ques_1-8" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Heart-Murmur',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Heart-Murmur', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-8">Heart Murmur</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Diabetes" id="mh_ques_1-9" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Diabetes',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Diabetes', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-9">Diabetes</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Kidney-Disease" id="mh_ques_1-10" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Kidney-Disease',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Kidney-Disease', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-10">Kidney Disease</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Tuberculosis" id="mh_ques_1-11" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Tuberculosis',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Tuberculosis', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-11">Tuberculosis</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Pacemaker" id="mh_ques_1-12" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Pacemaker',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Pacemaker', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-12">Pacemaker</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Lung-Disease" id="mh_ques_1-13" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Lung-Disease',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Lung-Disease', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-13">Lung Disease</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Stomach-ulcer" id="mh_ques_1-14" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Stomach-ulcer',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Stomach-ulcer', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-14">Stomach ulcer</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Thyroid-Disease" id="mh_ques_1-15" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Thyroid-Disease',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Thyroid-Disease', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-15">Thyroid Disease</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Mitral-Valve-Prolapse" id="mh_ques_1-16" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Mitral-Valve-Prolapse',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Mitral-Valve-Prolapse', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-16">Mitral Valve Prolapse</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Drug/Alcohol-Dependency" id="mh_ques_1-17" name="mh_ques_1[]" @if( (!empty(old('mh_ques_1')) && in_array('Drug/Alcohol-Dependency',old('mh_ques_1'))) || (!empty($mh_ques_1Arr) && in_array('Drug/Alcohol-Dependency', $mh_ques_1Arr)) ) checked @endif>
                    <label for="mh_ques_1-17">Drug/Alcohol Dependency</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">18.  {{ __('enquiry.new_form.mh_conditions_have_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-mh_conditions_have col-md-5" error="{{ $errors->first('mh_conditions_have') }}" >
                <x-form.field.text2 id="mh_conditions_have" name="mh_conditions_have"  value="{{ old('mh_conditions_have') ?? $dataObj->mh_conditions_have ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>
            
            <!--Dental History-->
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_5febd77 col-md-12">
                <b>Dental History</b>
            </div>

            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_87391e5 col-md-4"> 1. {{ __('enquiry.new_form.dh_visit_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-radio form-control-group elementor-column form-control-group-dh_visit col-md-4" error="{{ $errors->first('dh_visit') }}" >
                <span class="form-control-option">
                    <input type="radio" value="emergency" id="dh_visit-emergency" name="dh_visit" @if((old('dh_visit') =='emergency') || (!empty($dataObj->dh_visit) && $dataObj->dh_visit =='emergency')) checked @endif>
                    <label for="dh_visit-emergency">Emergency</label>
                </span>
                <span class="form-control-option">
                    <input type="radio" value="examination" id="dh_visit-examination" name="dh_visit" @if((old('dh_visit') =='examination') || (!empty($dataObj->dh_visit) && $dataObj->dh_visit =='examination')) checked @endif>
                    <label for="dh_visit-examination">Examination</label>
                </span>
                <span class="form-control-option">
                    <input type="radio" value="others" id="dh_visit-others" name="dh_visit" @if((old('dh_visit') =='others') || (!empty($dataObj->dh_visit) && $dataObj->dh_visit =='others')) checked @endif>
                    <label for="dh_visit-others">Others</label>
                </span>
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dh_visit_othr col-md-4 form-control-required cfef-hidden" error="{{ $errors->first('dh_visit_othr') }}" >
                <x-form.field.text2 id="dh_visit_othr" name="dh_visit_othr"  value="{{ old('dh_visit_othr') ?? $dataObj->dh_visit_othr ?? '' }}" class="form-control elementor-size-xs  form-control-textual" placeholder="{{ __('enquiry.new_form.others_txt') }}" />
            </x-form.frnt_group_lyt7v1>

            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_87391e5 col-md-4"> 2. {{ __('enquiry.new_form.dh_dentist_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-radio form-control-group elementor-column form-control-group-dh_dentist col-md-4" error="{{ $errors->first('dh_dentist') }}" >
                <span class="form-control-option">
                    <input type="radio" value="3-6-months" id="dh_dentist-3-6-months" name="dh_dentist" @if((old('dh_dentist') =='3-6-months') || (!empty($dataObj->dh_dentist) && $dataObj->dh_dentist =='3-6-months')) checked @endif>
                    <label for="dh_dentist-3-6-months">3-6 months</label>
                </span>
                <span class="form-control-option">
                    <input type="radio" value="annually" id="dh_dentist-annually" name="dh_dentist" @if((old('dh_dentist') =='annually') || (!empty($dataObj->dh_dentist) && $dataObj->dh_dentist =='annually')) checked @endif>
                    <label for="dh_dentist-annually">Annually</label>
                </span>
                <span class="form-control-option">
                    <input type="radio" value="others" id="dh_dentist-others" name="dh_dentist" @if((old('dh_dentist') =='others') || (!empty($dataObj->dh_dentist) && $dataObj->dh_dentist =='others')) checked @endif>
                    <label for="dh_dentist-others">Others</label>
                </span>
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dh_dentist_other col-md-4 form-control-required cfef-hidden" error="{{ $errors->first('dh_dentist_other') }}" >
                <x-form.field.text2 id="dh_dentist_other" name="dh_dentist_other"  value="{{ old('dh_dentist_other') ?? $dataObj->dh_dentist_other ?? '' }}" class="form-control elementor-size-xs  form-control-textual" placeholder="{{ __('enquiry.new_form.others_txt') }}" />
            </x-form.frnt_group_lyt7v1>

            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_6a3989d  col-md-3">3. {{ __('enquiry.new_form.dh_dental_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dh_dental col-md-3" error="{{ $errors->first('dh_dental') }}" >
                <x-form.field.text2 id="dh_dental" name="dh_dental"  value="{{ old('dh_dental') ?? $dataObj->dh_dental ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_6a3989d  col-md-3"> {{ __('enquiry.new_form.dh_xray_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dh_xray col-md-3" error="{{ $errors->first('dh_xray') }}" >
                <x-form.field.text2 id="dh_xray" name="dh_xray"  value="{{ old('dh_xray') ?? $dataObj->dh_xray ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_6a3989d  col-md-3">4. {{ __('enquiry.new_form.dh_brush_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dh_brush col-md-3" error="{{ $errors->first('dh_brush') }}" >
                <x-form.field.text2 id="dh_brush" name="dh_brush"  value="{{ old('dh_brush') ?? $dataObj->dh_brush ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_6a3989d  col-md-3"> {{ __('enquiry.new_form.dh_floass_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dh_floass col-md-3" error="{{ $errors->first('dh_floass') }}" >
                <x-form.field.text2 id="dh_floass" name="dh_floass"  value="{{ old('dh_floass') ?? $dataObj->dh_floass ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_6a3989d  col-md-3"> {{ __('enquiry.new_form.dh_rinse_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dh_rinse col-md-3" error="{{ $errors->first('dh_rinse') }}" >
                <x-form.field.text2 id="dh_rinse" name="dh_rinse"  value="{{ old('dh_rinse') ?? $dataObj->dh_rinse ?? '' }}" class="form-control elementor-size-xs  form-control-textual"/>
            </x-form.frnt_group_lyt7v1>


            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_87391e5 col-md-12"> 5. {{ __('enquiry.new_form.dh_dentist_txt') }}</div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-radio form-control-group elementor-column form-control-group-dh_sensitive col-md-12" error="{{ $errors->first('dh_sensitive') }}" >
                <span class="form-control-option">
                    <input type="radio" value="cold" id="dh_sensitive-cold" name="dh_sensitive" @if((old('dh_sensitive') =='cold') || (!empty($dataObj->dh_sensitive) && $dataObj->dh_sensitive =='cold')) checked @endif>
                    <label for="dh_sensitive-cold">Cold</label>
                </span>
                <span class="form-control-option">
                    <input type="radio" value="sweets" id="dh_sensitive-sweets" name="dh_sensitive" @if((old('dh_sensitive') =='sweets') || (!empty($dataObj->dh_sensitive) && $dataObj->dh_sensitive =='sweets')) checked @endif>
                    <label for="dh_sensitive-sweets">Sweets</label>
                </span>
                <span class="form-control-option">
                    <input type="radio" value="heat" id="dh_sensitive-heat" name="dh_sensitive" @if((old('dh_sensitive') =='heat') || (!empty($dataObj->dh_sensitive) && $dataObj->dh_sensitive =='heat')) checked @endif>
                    <label for="dh_sensitive-heat">Heat</label>
                </span>
                <span class="form-control-option">
                    <input type="radio" value="others" id="dh_sensitive-others" name="dh_sensitive" @if((old('dh_sensitive') =='others') || (!empty($dataObj->dh_sensitive) && $dataObj->dh_sensitive =='others')) checked @endif>
                    <label for="dh_sensitive-others">Others</label>
                </span>
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dh_sensitive_other col-md-12 cfef-hidden dh_sensitive_other" error="{{ $errors->first('dh_sensitive_other') }}" >
                <x-form.field.text2 id="dh_sensitive_other" name="dh_sensitive_other"  value="{{ old('dh_sensitive_other') ?? $dataObj->dh_sensitive_other ?? '' }}" class="form-control elementor-size-xs  form-control-textual" placeholder="{{ __('enquiry.new_form.specify_txt') }}" />
            </x-form.frnt_group_lyt7v1>

            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">6. {{ __('enquiry.new_form.dh_bleed_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-dh_bleed col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('dh_bleed') }}">
                <span class="form-control-option">
                    <input type="radio" value="brushing" id="dh_bleed-brushing" name="dh_bleed" @if((old('dh_bleed') =='brushing') || (!empty($dataObj->dh_bleed) && $dataObj->dh_bleed =='brushing')) checked @endif>
                    <label for="dh_bleed-brushing">Brushing</label>
                </span>
                <span class="form-control-option">
                    <input type="radio" value="flossing" id="dh_bleed-flossing" name="dh_bleed" @if((old('dh_bleed') =='flossing') || (!empty($dataObj->dh_bleed) && $dataObj->dh_bleed =='flossing')) checked @endif>
                    <label for="dh_bleed-flossing">Flossing</label>
                </span>
                <span class="form-control-option">
                    <input type="radio" value="never" id="dh_bleed-never" name="dh_bleed" @if((old('dh_bleed') =='never') || (!empty($dataObj->dh_bleed) && $dataObj->dh_bleed =='never')) checked @endif>
                    <label for="dh_bleed-never">Never</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">7.  {{ __('enquiry.new_form.dh_crack_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-dh_crack col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('dh_crack') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="dh_crack-1" name="dh_crack" @if((old('dh_crack') =='1') || (!empty($dataObj->dh_crack) && $dataObj->dh_crack =='1')) checked @endif>
                    <label for="dh_crack-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="dh_crack-2" name="dh_crack" @if((old('dh_crack') =='2') || (!empty($dataObj->dh_crack) && $dataObj->dh_crack =='2')) checked @endif>
                    <label for="dh_crack-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">8.  {{ __('enquiry.new_form.dh_clench_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-dh_clench col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('dh_clench') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="dh_clench-1" name="dh_clench" @if((old('dh_clench') =='1') || (!empty($dataObj->dh_clench) && $dataObj->dh_clench =='1')) checked @endif>
                    <label for="dh_clench-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="dh_clench-2" name="dh_clench" @if((old('dh_clench') =='2') || (!empty($dataObj->dh_clench) && $dataObj->dh_clench =='2')) checked @endif>
                    <label for="dh_clench-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">9.  {{ __('enquiry.new_form.dh_nervous_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-dh_nervous col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('dh_nervous') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="dh_nervous-1" name="dh_nervous" @if((old('dh_nervous') =='1') || (!empty($dataObj->dh_nervous) && $dataObj->dh_nervous =='1')) checked @endif>
                    <label for="dh_nervous-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="dh_nervous-2" name="dh_nervous" @if((old('dh_nervous') =='2') || (!empty($dataObj->dh_nervous) && $dataObj->dh_nervous =='2')) checked @endif>
                    <label for="dh_nervous-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">10.  {{ __('enquiry.new_form.dh_sedation_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-dh_sedation col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('dh_sedation') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="dh_sedation-1" name="dh_sedation" @if((old('dh_sedation') =='1') || (!empty($dataObj->dh_sedation) && $dataObj->dh_sedation =='1')) checked @endif>
                    <label for="dh_sedation-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="dh_sedation-2" name="dh_sedation" @if((old('dh_sedation') =='2') || (!empty($dataObj->dh_sedation) && $dataObj->dh_sedation =='2')) checked @endif>
                    <label for="dh_sedation-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">11.  {{ __('enquiry.new_form.dh_previous_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-dh_previous col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('dh_previous') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="dh_previous-1" name="dh_previous" @if((old('dh_previous') =='1') || (!empty($dataObj->dh_previous) && $dataObj->dh_previous =='1')) checked @endif>
                    <label for="dh_previous-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="dh_previous-2" name="dh_previous" @if((old('dh_previous') =='2') || (!empty($dataObj->dh_previous) && $dataObj->dh_previous =='2')) checked @endif>
                    <label for="dh_previous-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dh_previous_specify col-md-12 dh_previous_specify" error="{{ $errors->first('dh_previous_specify') }}" label="{{ __('enquiry.new_form.specify_txt') }}">
                <x-form.field.text2 id="dh_previous_specify" name="dh_previous_specify"  value="{{ old('dh_previous_specify') ?? $dataObj->dh_previous_specify ?? '' }}" class="form-control elementor-size-xs  form-control-textual" placeholder="{{ __('enquiry.new_form.specify_txt') }}" />
            </x-form.frnt_group_lyt7v1>

            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_c3d885c col-md-12">12. {{ __('enquiry.new_form.dh_ever_chose_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-checkbox form-control-group elementor-column form-control-group-dh_ever_chose col-md-12" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('dh_ever_chose') }}">
                <span class="form-control-option">
                    <input type="checkbox" value="Bridgework" id="dh_ever_chose-0" name="dh_ever_chose[]" @if( (!empty(old('dh_ever_chose')) && in_array('Bridgework',old('dh_ever_chose'))) || (!empty($dh_ever_choseArr) && in_array('Bridgework', $dh_ever_choseArr)) ) checked @endif >
                    <label for="dh_ever_chose-0">Bridgework</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Crowns-or-Caps" id="dh_ever_chose-1" name="dh_ever_chose[]" @if( (!empty(old('dh_ever_chose')) && in_array('Crowns-or-Caps',old('dh_ever_chose'))) || (!empty($dh_ever_choseArr) && in_array('Crowns-or-Caps', $dh_ever_choseArr)) ) checked @endif >
                    <label for="dh_ever_chose-1">Crowns or Caps</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Full-or-Partial-Dentures" id="dh_ever_chose-2" name="dh_ever_chose[]" @if( (!empty(old('dh_ever_chose')) && in_array('Full-or-Partial-Dentures',old('dh_ever_chose'))) || (!empty($dh_ever_choseArr) && in_array('Full-or-Partial-Dentures', $dh_ever_choseArr)) ) checked @endif>
                    <label for="dh_ever_chose-2">Full or Partial Dentures</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Orthodontic(braces)" id="dh_ever_chose-3" name="dh_ever_chose[]" @if( (!empty(old('dh_ever_chose')) && in_array('Orthodontic(braces)',old('dh_ever_chose'))) || (!empty($dh_ever_choseArr) && in_array('Orthodontic(braces)', $dh_ever_choseArr)) ) checked @endif>
                    <label for="dh_ever_chose-3">Orthodontic (braces)</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Periodontal-(Gums)-Treatment" id="dh_ever_chose-4" name="dh_ever_chose[]" @if( (!empty(old('dh_ever_chose')) && in_array('Periodontal-(Gums)-Treatment',old('dh_ever_chose'))) || (!empty($dh_ever_choseArr) && in_array('Periodontal-(Gums)-Treatment', $dh_ever_choseArr)) ) checked @endif>
                    <label for="dh_ever_chose-4">Periodontal (Gums) Treatment</label>
                </span>
                <span class="form-control-option">
                    <input type="checkbox" value="Root-Canal" id="dh_ever_chose-5" name="dh_ever_chose[]" @if( (!empty(old('dh_ever_chose')) && in_array('Root-Canal',old('dh_ever_chose'))) || (!empty($dh_ever_choseArr) && in_array('Root-Canal', $dh_ever_choseArr)) ) checked @endif>
                    <label for="dh_ever_chose-5">Root Canal</label>
                </span>
            </x-form.frnt_group_lyt7v2>

            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_99b01c6 col-md-7">13.  {{ __('enquiry.new_form.dh_satisfied_txt') }}</div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-dh_satisfied col-md-4" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('dh_satisfied') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="dh_satisfied-1" name="dh_satisfied" @if((old('dh_satisfied') =='1') || (!empty($dataObj->dh_satisfied) && $dataObj->dh_satisfied =='1')) checked @endif>
                    <label for="dh_satisfied-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="dh_satisfied-2" name="dh_satisfied" @if((old('dh_satisfied') =='2') || (!empty($dataObj->dh_satisfied) && $dataObj->dh_satisfied =='2')) checked @endif>
                    <label for="dh_satisfied-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-dh_satisfied_specify col-md-12 dh_satisfied_specify" error="{{ $errors->first('dh_satisfied_specify') }}" label="{{ __('enquiry.new_form.specify_txt') }}">
                <x-form.field.text2 id="dh_satisfied_specify" name="dh_satisfied_specify"  value="{{ old('dh_satisfied_specify') ?? $dataObj->dh_satisfied_specify ?? '' }}" class="form-control elementor-size-xs  form-control-textual" placeholder="{{ __('enquiry.new_form.specify_txt') }}" />
            </x-form.frnt_group_lyt7v1>

            <!--General Release-->
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_040f465 col-md-12">
                <b>General Release</b><br>
                I, the undersigned, understand that the information contained in the medical and dental history is important to my
                treatment. I certify that all of the information I hjave completed is correct and that I have not knowingly
                omitted data. I consent to the release of medical information from my medical doctor or other health care provider
                as is required by this dental office. I authorize this dental office to perform diagnostic procedures as may be
                required to determine necessary treatment. I understand that it is my responsibility to pay for dental treatment
                for both myself and my dependents. I assume all responsibility fro fees associated with my dental treatment or
                dental diagnostic procedures.
            </div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-gr_self_sign elementor-col-33" error="{{ $errors->first('gr_self_sign') }}" label="{{ __('enquiry.new_form.self_sign_txt') }}">
                <x-form.field.text2 id="gr_self_sign" name="gr_self_sign" placeholder="{{ __('enquiry.new_form.self_sign_txt') }}"  value="{{ old('gr_self_sign') ?? $dataObj->gr_self_sign ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-gr_self_prnt_name elementor-col-33" error="{{ $errors->first('gr_self_prnt_name') }}" label="{{ __('enquiry.new_form.prnt_name_txt') }}">
                <x-form.field.text2 id="gr_self_prnt_name" name="gr_self_prnt_name" placeholder="{{ __('enquiry.new_form.prnt_name_txt') }}"  value="{{ old('gr_self_prnt_name') ?? $dataObj->gr_self_prnt_name ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-gr_self_date elementor-col-33" error="{{ $errors->first('gr_self_date') }}" label="{{ __('enquiry.new_form.date_txt') }}">
                <x-form.field.text2 type="date" id="gr_self_date" name="gr_self_date" placeholder="{{ __('enquiry.new_form.date_txt') }}"  value="{{ old('gr_self_date') ?? $dataObj->gr_self_date ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-gr_dntst_sign elementor-col-33" error="{{ $errors->first('gr_dntst_sign') }}" label="{{ __('enquiry.new_form.dntst_sign_txt') }}">
                <x-form.field.text2 id="gr_dntst_sign" name="gr_dntst_sign" placeholder="{{ __('enquiry.new_form.dntst_sign_txt') }}"  value="{{ old('gr_dntst_sign') ?? $dataObj->gr_dntst_sign ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-gr_dntst_name elementor-col-33" error="{{ $errors->first('gr_dntst_name') }}" label="{{ __('enquiry.new_form.prnt_name_txt') }}">
                <x-form.field.text2 id="gr_dntst_name" name="gr_dntst_name" placeholder="{{ __('enquiry.new_form.prnt_name_txt') }}"  value="{{ old('gr_dntst_name') ?? $dataObj->gr_dntst_name ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-gr_dntst_date elementor-col-33" error="{{ $errors->first('gr_dntst_date') }}" label="{{ __('enquiry.new_form.date_txt') }}">
                <x-form.field.text2 type="date" id="gr_dntst_date" name="gr_dntst_date" placeholder="{{ __('enquiry.new_form.date_txt') }}"  value="{{ old('gr_dntst_date') ?? $dataObj->gr_dntst_date ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>

            <!--Medication List-->
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_21f312f col-md-12">
            <b>Medication List</b>
            </div>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_3717bb0 col-md-7">Are you currently taking any medications? </div>
            <x-form.frnt_group_lyt7v2  default_class="form-control-type-radio form-control-group elementor-column form-control-group-ml_medications col-md-5" default_sub_class="form-control-subgroup  elementor-subgroup-inline" error="{{ $errors->first('ml_medications') }}">
                <span class="form-control-option">
                    <input type="radio" value="1" id="ml_medications-1" name="ml_medications" @if((old('ml_medications') =='1') || (!empty($dataObj->ml_medications) && $dataObj->ml_medications =='1')) checked @endif>
                    <label for="ml_medications-1">Yes</label>
                    </span><span class="form-control-option">
                    <input type="radio" value="2" id="ml_medications-2" name="ml_medications" @if((old('ml_medications') =='2') || (!empty($dataObj->ml_medications) && $dataObj->ml_medications =='2')) checked @endif>
                    <label for="ml_medications-2">No</label>
                </span>
            </x-form.frnt_group_lyt7v2>
            <div class="medicationList">
                <div
                class="form-control-type-html form-control-group elementor-column form-control-group-field_cd6b9cf col-md-12 cfef-hidden">
                If Yes, Please list your medications: </div>
                <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medication1 elementor-col-33 cfef-hidden float-start" error="{{ $errors->first('medication_list.0') }}" label="1. {{ __('enquiry.new_form.medication_txt') }}">
                    <x-form.field.text2 id="medication_list_0" name="medication_list[]" placeholder="1. {{ __('enquiry.new_form.medication_txt') }}"  value="{{ old('medication_list.0') ?? $dataObj->medication_list[0] ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
                </x-form.frnt_group_lyt7v1>
                <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medication1 elementor-col-33 cfef-hidden float-start" error="{{ $errors->first('medication_list.1') }}" label="2. {{ __('enquiry.new_form.medication_txt') }}">
                    <x-form.field.text2 id="medication_list_1" name="medication_list[]" placeholder="2. {{ __('enquiry.new_form.medication_txt') }}"  value="{{ old('medication_list.1') ?? $dataObj->medication_list[1] ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
                </x-form.frnt_group_lyt7v1>
                <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medication1 elementor-col-33 cfef-hidden float-start" error="{{ $errors->first('medication_list.2') }}" label="3. {{ __('enquiry.new_form.medication_txt') }}">
                    <x-form.field.text2 id="medication_list_2" name="medication_list[]" placeholder="3. {{ __('enquiry.new_form.medication_txt') }}"  value="{{ old('medication_list.2') ?? $dataObj->medication_list[2] ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
                </x-form.frnt_group_lyt7v1>

                <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medication1 elementor-col-33 cfef-hidden float-start" error="{{ $errors->first('medication_list.3') }}" label="4. {{ __('enquiry.new_form.medication_txt') }}">
                    <x-form.field.text2 id="medication_list_3" name="medication_list[]" placeholder="4. {{ __('enquiry.new_form.medication_txt') }}"  value="{{ old('medication_list.3') ?? $dataObj->medication_list[3] ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
                </x-form.frnt_group_lyt7v1>
                <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medication1 elementor-col-33 cfef-hidden float-start" error="{{ $errors->first('medication_list.4') }}" label="5. {{ __('enquiry.new_form.medication_txt') }}">
                    <x-form.field.text2 id="medication_list_4" name="medication_list[]" placeholder="5. {{ __('enquiry.new_form.medication_txt') }}"  value="{{ old('medication_list.4') ?? $dataObj->medication_list[4] ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
                </x-form.frnt_group_lyt7v1>
                <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medication1 elementor-col-33 cfef-hidden float-start" error="{{ $errors->first('medication_list.5') }}" label="6. {{ __('enquiry.new_form.medication_txt') }}">
                    <x-form.field.text2 id="medication_list_5" name="medication_list[]" placeholder="6. {{ __('enquiry.new_form.medication_txt') }}"  value="{{ old('medication_list.5') ?? $dataObj->medication_list[5] ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
                </x-form.frnt_group_lyt7v1>

                <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medication1 elementor-col-33 cfef-hidden float-start" error="{{ $errors->first('medication_list.6') }}" label="7. {{ __('enquiry.new_form.medication_txt') }}">
                    <x-form.field.text2 id="medication_list_6" name="medication_list[]" placeholder="7. {{ __('enquiry.new_form.medication_txt') }}"  value="{{ old('medication_list.6') ?? $dataObj->medication_list[6] ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
                </x-form.frnt_group_lyt7v1>
                <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medication1 elementor-col-33 cfef-hidden float-start" error="{{ $errors->first('medication_list.7') }}" label="8. {{ __('enquiry.new_form.medication_txt') }}">
                    <x-form.field.text2 id="medication_list_7" name="medication_list[]" placeholder="8. {{ __('enquiry.new_form.medication_txt') }}"  value="{{ old('medication_list.7') ?? $dataObj->medication_list[7] ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
                </x-form.frnt_group_lyt7v1>
                <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medication1 elementor-col-33 cfef-hidden float-start" error="{{ $errors->first('medication_list.8') }}" label="9. {{ __('enquiry.new_form.medication_txt') }}">
                    <x-form.field.text2 id="medication_list_8" name="medication_list[]" placeholder="9. {{ __('enquiry.new_form.medication_txt') }}"  value="{{ old('medication_list.8') ?? $dataObj->medication_list[8] ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
                </x-form.frnt_group_lyt7v1>
                <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-medication1 col-md-12 cfef-hidden float-start" error="{{ $errors->first('medication_list.9') }}" label="10. {{ __('enquiry.new_form.medication_txt') }}">
                    <x-form.field.text2 id="medication_list_9" name="medication_list[]" placeholder="10. {{ __('enquiry.new_form.medication_txt') }}"  value="{{ old('medication_list.9') ?? $dataObj->medication_list[9] ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
                </x-form.frnt_group_lyt7v1>
            </div>

            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-ml_dntst_sign elementor-col-33" error="{{ $errors->first('ml_dntst_sign') }}" label="{{ __('enquiry.new_form.sign_txt') }}">
                <x-form.field.text2 id="ml_dntst_sign" name="ml_dntst_sign" placeholder="{{ __('enquiry.new_form.sign_txt') }}"  value="{{ old('ml_dntst_sign') ?? $dataObj->ml_dntst_sign ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-ml_dntst_sign_date elementor-col-33" error="{{ $errors->first('ml_dntst_sign_date') }}" label="{{ __('enquiry.new_form.date_txt') }}">
                <x-form.field.text2 type="date" id="ml_dntst_sign_date" name="ml_dntst_sign_date" placeholder="{{ __('enquiry.new_form.date_txt') }}"  value="{{ old('ml_dntst_sign_date') ?? $dataObj->ml_dntst_sign_date ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-ml_dntst_sign2 elementor-col-33" error="{{ $errors->first('ml_dntst_sign2') }}" label="{{ __('enquiry.new_form.dntst_sign_txt') }}">
                <x-form.field.text2 id="ml_dntst_sign2" name="ml_dntst_sign2" placeholder="{{ __('enquiry.new_form.dntst_sign_txt') }}"  value="{{ old('ml_dntst_sign2') ?? $dataObj->ml_dntst_sign2 ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>

            <!--Payment Policy-->
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_d6e6314 col-md-12">
                    <b>Payment Policy</b>
            </div>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_b968e92 col-md-12">
            The full payment for services rendered within the office is expected at the end of each appointment. For your
            convenience, our office will send an electronic estimate ahead of time to your insurance company and then bill
            directly to them upon completion of the procedure. If the claim is not processed electronically, then we will ask
            for your signature on the appropriate forms so we can mail out a hard copy of the dental claim to your
            insurance.<br>
            <br>
            For any charges that are not covered by your insurance or if you do not have dental insurance, you will be
            responsible for the remaining cost. We accept Visa, Mastercard, American Express, Debit, and Cash.
            </div>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_ae34ad4 col-md-12">
            <b>Cancellation Policy</b>
            </div>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_1921f51 col-md-12">
            Please always arrive on time for your appointment. If you are running a few minutes late, please call our office
            to let us know. If you are significantly delayed, we may only be able to complete a partial treatment or may even
            have to ask you to reschedule depending on the remaining time left before the following patient’s appointment.<br>
            <br>
            We require at least 48 hours (or 2 business days) notice to cancel or reschedule your appointment. This allows us
            time to fill in the schedule in an attempt not to waste our dentists’ and hygienists’ time. We will try to be
            understanding to last minute cancellations for unexpected medical or personal emergencies, but repeat occurrences
            of last−minute cancellations or no−shows to your appointments will incur a $50.00 fee for the disruption.<br>
            <br>
            I have read and understand the terms indicated above.
            </div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-cp_sign col-md-6" error="{{ $errors->first('cp_sign') }}" label="{{ __('enquiry.new_form.sign_txt') }}">
                <x-form.field.text2 id="cp_sign" name="cp_sign" placeholder="{{ __('enquiry.new_form.sign_txt') }}"  value="{{ old('cp_sign') ?? $dataObj->cp_sign ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-cp_sign_date col-md-6" error="{{ $errors->first('cp_sign_date') }}" label="{{ __('enquiry.new_form.date_txt') }}">
                <x-form.field.text2 type="date" id="cp_sign_date" name="cp_sign_date" placeholder="{{ __('enquiry.new_form.date_txt') }}"  value="{{ old('cp_sign_date') ?? $dataObj->cp_sign_date ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            
            <!--Patient Consent-->
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_78c1059 col-md-12">
            <b>COLLECTION, USE AND DISCLOSURE OF PERSONAL INFORMATION</b>
            </div>
            <div class="form-control-type-html form-control-group elementor-column form-control-group-field_dd2f0d7 col-md-12">
            <p>Our office understands the importance of protecting your personal information. We will collect, use and
                disclose information about you for the following purposes:</p>

            <div class="treatment-list">
                <ul class="me-5">
                <li><span class="blue-selector"></span> Enable us to contact you (your child) to book and confirm
                    appointments.</li>
                <li><span class="blue-selector"></span> To advise you of treatment options</li>
                <li><span class="blue-selector"></span> To communicate with other health−care providers, including medical and
                    dental specialists and general practitioners</li>
                <li><span class="blue-selector"></span> To comply with legal and regulatory requirements, including the
                    delivery of patient’s charts and records to the Royal College or Dental Surgeons of Ontario in a timely
                    fashion, when required, according to the provisions of the Regulatory health professions act.</li>
                <li><span class="blue-selector"></span> To comply with agreements/undertakings entered into voluntarily by Dr.
                    Ngoc D Steve Van, Dr. Puneet Gill or their associates with the Royal College of Dental Surgeons of Ontario,
                    including the delivery and/or review of patients’ charts and records to the college in a timely fashion for
                    regulatory and monitoring purposes.</li>
                <li><span class="blue-selector"></span> To prepare material for the Health Professions Appeal and Review Board
                </li>
                <li><span class="blue-selector"></span> To process credit card payments</li>
                <li><span class="blue-selector"></span> To collect unpaid accounts.</li>
                </ul>
            </div>
            <p>You may withdraw your consent for use or disclosure of your personal information, and we will explain the
                consequences of that decision, and the process.</p>
            <p>By signing the consent section of this form, you have agreed that you have given your informed consent to
                collection, use and/or disclosure of your personal information for the purposes that are listen.</p>
            <strong>Patient Consent</strong>
            <p>I have reviewed the above information that explains how your office will use my personal information. I agree
                that Dr. Ngoc D Steve Van, Dr. Puneet Gill or their associates can collect, use and disclose personal
                information as set out above in the information about the office’s privacy policies according to the
                requirements of the Regulated Health Professions Act, the Royal College of Dental Surgeons and privacy
                legislations.</p>
            </div>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-pc_sign_name col-md-6" error="{{ $errors->first('pc_sign_name') }}" label="{{ __('enquiry.new_form.prnt_name_txt') }}">
                <x-form.field.text2 id="pc_sign_name" name="pc_sign_name" placeholder="{{ __('enquiry.new_form.prnt_name_txt') }}"  value="{{ old('pc_sign_name') ?? $dataObj->pc_sign_name ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-pc_sign col-md-6" error="{{ $errors->first('pc_sign') }}" label="{{ __('enquiry.new_form.sign_txt') }}">
                <x-form.field.text2 id="pc_sign" name="pc_sign" placeholder="{{ __('enquiry.new_form.sign_txt') }}"  value="{{ old('pc_sign') ?? $dataObj->pc_sign ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-date form-control-group elementor-column form-control-group-pc_sign_date col-md-6" error="{{ $errors->first('pc_sign_date') }}" label="{{ __('enquiry.new_form.date_txt') }}">
                <x-form.field.text2 type="date" id="pc_sign_date" name="pc_sign_date" placeholder="{{ __('enquiry.new_form.date_txt') }}"  value="{{ old('pc_sign_date') ?? $dataObj->pc_sign_date ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>
            <x-form.frnt_group_lyt7v1 default_class="form-control-type-text form-control-group elementor-column form-control-group-pc_sign_witness col-md-6" error="{{ $errors->first('pc_sign_witness') }}" label="{{ __('enquiry.new_form.sign_witness_txt') }}">
                <x-form.field.text2 id="pc_sign_witness" name="pc_sign_witness" placeholder="{{ __('enquiry.new_form.sign_witness_txt') }}"  value="{{ old('pc_sign_witness') ?? $dataObj->pc_sign_witness ?? '' }}" class="form-control elementor-size-xs  form-control-textual" />
            </x-form.frnt_group_lyt7v1>

            <x-form.frnt_group_lyt7v1 default_class="col-lg-12">
                <div class="quote_btn">
                <x-form.field.button3 default_class="dentus-btn-gradient dentus-btn  w-100" type="button" id="send_new_patient" name="send_new_patient" text="{{ __('enquiry.submit_now_txt') }}" />
                </div>
            </x-form.frnt_group_lyt7v1>
        </div>
    </form>
    <div id="msg_id"></div>
</div>


@push('scripts')
<script>

$(function() {
      _dental_history_dh_visit("{{ old('dh_visit') ?? $dataObj->dh_visit ?? '' }}");
      _dental_history_dh_dentist("{{ old('dh_dentist') ?? $dataObj->dh_dentist ?? '' }}");
      _dental_history_dh_sensitive("{{ old('dh_sensitive') ?? $dataObj->dh_sensitive ?? '' }}");
      _medication_list_ml_medications("{{ old('ml_medications') ?? $dataObj->ml_medications ?? '' }}");

      $('input[name="dh_visit"]').on('click', function() {
        var value = $(this).val();
        _dental_history_dh_visit(value);
      });

      $('input[name="dh_dentist"]').on('click', function() {
        var value = $(this).val();
        _dental_history_dh_dentist(value);
      });

      $('input[name="dh_sensitive"]').on('click', function() {
        var value = $(this).val();
        _dental_history_dh_sensitive(value);
      });

      $('input[name="ml_medications"]').on('click', function() {
        var value = $(this).val();
        _medication_list_ml_medications(value);
      });

    });


    function _dental_history_dh_visit(value = '') {
      if (value == 'others') $("#dh_visit_othr").show(1000);
      else $("#dh_visit_othr").hide('slow');
    }

    function _dental_history_dh_dentist(value = '') {
      if (value == 'others') $("#dh_dentist_other").show(1000);
      else $("#dh_dentist_other").hide('slow');
    }

    function _dental_history_dh_sensitive(value = '') {
      if (value == 'others') $(".dh_sensitive_other").show(1000);
      else $(".dh_sensitive_other").hide('slow');
    }

    function _medication_list_ml_medications(value = '') {
      if (value == '1') $(".medicationList").show(1000);
      else $(".medicationList").hide('slow');
    }

    // Form submit.
    $(function() {

        $.ajaxSetup({
         headers: {
            'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
         }
      });

      $.validator.setDefaults({
         ignore: []
      });

      $("#new_patient").validate({
            rules: {
                first_name: {
                    required: true
                },
                p_cell: {
                    required: true
                },
               email: {
                    required: true,
                    email: true
               },
            },
            messages: {
                first_name: "{{ __('web.jq_validate.enter_a_txt'). strtolower(__('enquiry.f_name_txt')) }}",
                email: {
                    required: "{{ __('web.jq_validate.enter_an_txt'). strtolower(__('enquiry.email_txt')) }}",
                },
            },
            errorPlacement: function(error, element) {
               console.log(element);
               if (element.attr("name") == "application_forms[position_applied][]") {
                  error.appendTo("#position_applied_error_class");
               } else {
                  error.insertAfter(element);
               }
            }
         }),
         $("#send_new_patient").click(function(e) {
            $(".loading-wrap").show();
            var btnObj = $(this);
            e.preventDefault();
            grecaptcha.ready(function() {
               grecaptcha.execute("{{ Config('commonconstants.recaptcha.site_key') }}", {
                  action: 'new_patient_form'
               }).then(function(token) {
                  var a = $("#new_patient");
                  if (1 == a.valid()) {
                     if (token) {
                        btnObj.html("<i class=\"fa fa-refresh fa-spin text-white\"></i>&nbsp;Please wait...");
                        btnObj.attr('disabled', 'disabled');

                        $("#recaptcha_v3").val(token);
                        $("#new_patient").submit();
                     }
                  }else{
                     var firstInvalidInput = $("#new_patient :input.error:first");
                     firstInvalidInput.focus();
                    $(".loading-wrap").hide();
                  }
               });
            });
         });

      // Trigger validation when NiceSelect dropdown changes
      $('select').on('change', function() {
         $(this).valid(); // Trigger validation on the select element
         $("div.nice-select").removeClass('error'); // Adjust based on NiceSelect structure
      });

    });
</script>
@endpush