@foreach ($ticketFormFields as $item)
@if ($item->custom_fields_id === null)
@if ($item->field_type == 'textarea')
@elseif($item->field_type == 'select')
@if ($item->field_name == 'type')
@forelse($types as $type)
@empty
@endforelse
@else
@endif
@else
@endif
@else
@if($item->field_type == 'text')
>
@elseif($item->field_type == 'password')
@elseif($item->field_type == 'number')
@elseif($item->field_type == 'textarea')
@elseif($item->field_type == 'radio')
@elseif($item->field_type == 'select')
@foreach(json_decode($item->customField->values) as $item)
@endforeach
@elseif($item->field_type == 'date')
@elseif($item->field_type == 'checkbox')
@endif
@endif
@endforeach
@if (global_setting()->google_recaptcha_status == 'active' && global_setting()->google_recaptcha_v2_status == 'active' && global_setting()->lead_form_google_captcha == 1)
@endif
{{-- This is used for google captcha v3 --}}
@if ($errors->has('g-recaptcha-response'))
{{ $errors->first('g-recaptcha-response') }}
@endif