@if ($formFields) @foreach ($formFields as $item) @if ($item->type != 'file') @endif @endforeach @endif @if(!empty($formFields)) @foreach ($formFields as $key => $data) {{-- Text Field --}} @if($data->type == 'text') {{-- Number Field --}} @elseif($data->type == 'number') {{-- Dropdown Field --}} @elseif($data->type == 'dropdown') {{-- Radio Field --}} @elseif($data->type == 'radio') {{-- Checkbox Field --}} @elseif($data->type == 'checkbox') {{-- Textarea Field --}} @elseif($data->type == 'textarea') @endif @endforeach @endif
first_name last_name mobile gender dob admission_date guardian_email guardian_first_name guardian_last_name guardian_mobile{{$item->name}}
Studnet 1 TEST 123456789 10-10-2023 10-10-2023 guardiantest@example.com Guardian Test 123456789 10-10-2023 textnumber TEXTAREA