{{$form_name}} Evaluation Admin

i Icon This allows you to add, edit, and delete fields for the evaluator.

Drag and drop element to create fields

@php $evaluationFieldsArray = $Evaluation_Fields->toArray(); $countTextFields = count(array_filter($evaluationFieldsArray, function($field) { return $field['type'] != 'Week'; })); $weekFieldExist = count(array_filter($evaluationFieldsArray, function($field) { return $field['type'] == 'Week'; })); @endphp @if($countTextFields == 3)
@if(count($Evaluation_Fields) != 4)
i Icon
Week Definition
@endif
@else
i Icon
Text
i Icon
Dropdown List
@if($weekFieldExist != 1)
i Icon
Week Definition
@endif
@endif
Drop element here
Click on element to show fields
@forelse($Evaluation_Fields ?? [] as $fields) @if(!$modalId && $fields->id != $modalId || $modalId && $fields->id != $modalId)
{{$fields->type}}
i Icon
@elseif($modalId && $fields->id == $modalId)
{{$fields->type}}
i Icon
@endif @empty @endforelse