@extends('layouts.admin') @section('content')

@if($parentQuestion) เพิ่มคำถามย่อย @else เพิ่มคำถามใหม่ @endif

กลับไปกลุ่มคำถาม
@if($parentQuestion)
คำถามแม่
{{ $parentQuestion->question_text }}
@if($parentQuestion->description)

{{ $parentQuestion->description }}

@endif
{{ $parentQuestion->question_type_label }} @if($parentQuestion->use_in_evaluation) ใช้ในการประเมิน @else ไม่ใช้ในการประเมิน @endif
{{ $parentQuestion->DtmIns->format('d/m/Y H:i') }}
@endif
@if($parentQuestion) ข้อมูลคำถามย่อย - {{ $group->name }} @else ข้อมูลคำถาม - {{ $group->name }} @endif
@csrf @if($parentQuestion) @endif
@error('question_text')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@error('question_type')
{{ $message }}
@enderror เลือกประเภทคำตอบที่ต้องการ
คำถามนี้จะถูกนำมาคำนวณผลการประเมิน
หมายเหตุ:
  • ใช้การลากในหน้าแก้ไขกลุ่มคำถามเพื่อกำหนดความสัมพันธ์แม่-ลูก
  • เงื่อนไขการเชื่อมต่อ (AND/OR) จะแสดงในหน้าแก้ไขกลุ่มคำถาม
  • สำหรับคำถามที่ต้องการให้มีคำถามย่อย ให้เลือกประเภทคำตอบเป็น "ไม่มี"
ยกเลิก
@endsection