@if ($formdata->label_status != 0)
@endif
{{-- ================== For Text Type Fieldsets =============== --}}
@if (
$form_fields->type == 'text' ||
$form_fields->type == 'number' ||
$form_fields->type == 'email' ||
$form_fields->type == 'password')
validation }} style="{{ $form_fields->custom_style }}" />
@endif
{{-- ================== For Text Type Fieldsets =============== --}}
@if ($form_fields->type == 'textarea')
@endif
{{-- ================== For File Type Fieldsets =============== --}}
@if ($form_fields->type == 'file')
validation }} style="{{ $form_fields->custom_style }}" />
@endif
{{-- ================== For Dropdown Type Fieldsets =============== --}}
@if ($form_fields->type == 'dropdown')
@php
$form_fields_options = \App\Models\FormOption::where('form_id', $formdata->id)
->where('field_id', $form_fields->field_count)
->get();
@endphp
@endif
{{-- ================== For Checkbos Type Fieldsets =============== --}}
@if ($form_fields->type == 'checkbox')
@php
$form_fields_options = \App\Models\FormOption::where('form_id', $formdata->id)
->where('field_id', $form_fields->field_count)
->get();
@endphp
@foreach ($form_fields_options as $fields_options)
@endforeach
@endif
{{-- ================== For Radio Type Fieldsets =============== --}}
@if ($form_fields->type == 'radio')
@php
$form_fields_options = \App\Models\FormOption::where('form_id', $formdata->id)
->where('field_id', $form_fields->field_count)
->get();
@endphp
@foreach ($form_fields_options as $fields_options)
@endforeach
@endif
@endforeach