@include('layouts.shared/title-meta', ['title' => 'Form']) @include('layouts.shared/head-css', ['mode' => $mode ?? '', 'demo' => $demo ?? ''])
processing...
@if (Session::has('error'))
{{ Session::get('error') }}

@endif @if (session('success'))
{{ session('success') }}

@endif

{{ $form->name }}

@if($form->limit_attempts == 'Yes' && $form->number_attempts <= $form->existing_attempts)

You have already submitted the Quiz for the maximum number of times allowed.

Allowed attempts: {{$form->number_attempts}}
Attempts done: {{$form->existing_attempts}}
@elseif(strtotime($form->start_time) <= strtotime("now")+(19800) && strtotime($form->end_time) >= strtotime("now")+(19800) )
@csrf @php $qc = 1; $ols = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h']; @endphp @foreach ($questions as $question)

{{$qc}}) {{ $question->question }}

@php $ac = 0; @endphp @foreach($question->options as $ans)
@php $ac++; @endphp @endforeach @php $qc++; @endphp @endforeach @if (!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes'))
@endif
@else

Quiz will be active from {{date("d M, h:iA", strtotime($form->start_time)) }} to {{date("d M, h:iA", strtotime($form->end_time)) }}

@endif

{{ $form->name }}

Your response are successfully submitted.

@if($form->show_score) @endif
@if($form->show_answers) @php $qc = 1; $ols = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h']; @endphp @foreach ($questions as $question)

{{$qc}}) {{ $question->question }}

@php $ac = 0; @endphp @foreach($question->options as $ans)

{{$ols[$ac]}}) {{$ans->option}}

@php $ac++; @endphp @endforeach @php $qc++; @endphp @endforeach @endif
@include('layouts.shared/footer-script')