@if($formdata->instructions)

Instructions: {{ $formdata->instructions }}

@endif
@csrf @foreach ($form_fields_data as $form_fields) @php $label_for = Str::lower($form_fields->field_name); $replace_label_for = str_replace(' ', '', $label_for); $field_name = Str::lower($form_fields->field_name); $replace_field_name = str_replace(' ', '_', $field_name); //============================================= if ($form_fields->pattern != '') { if ($form_fields->pattern != 'multiple') { $setarray = ''; $setpattern = 'pattern = "' . $form_fields->pattern . '"'; } else { $setpattern = $form_fields->pattern; $setarray = '[]'; } } else { $setarray = ''; $setpattern = ''; } @endphp
@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