@foreach ($leadFormFields as $item)
@if ($item->custom_fields_id === null)
@if ($item->field_name == 'country')
@foreach ($countries as $item)
@endforeach
@elseif ($item->field_name == 'message')
@else
@endif
@else
@if($item->customField->type == 'text')
@elseif($item->customField->type == 'password')
@elseif($item->customField->type == 'number')
@elseif($item->customField->type == 'textarea')
@elseif($item->customField->type == 'radio')
@elseif($item->customField->type == 'select')
@foreach(json_decode($item->customField->values) as $item)
@endforeach
@elseif($item->customField->type == 'date')
@elseif($item->customField->type == 'checkbox')
@endif
@endif
@endforeach
@if($globalSetting->google_recaptcha_status == 'active' && $globalSetting->google_recaptcha_v2_status == 'active')
@endif
{{-- This is used for google captcha v3 --}}
@if ($errors->has('g-recaptcha-response'))
{{ $errors->first('g-recaptcha-response') }}
@endif