@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 เลือกประเภทคำตอบที่ต้องการ
คำถามนี้จะถูกนำมาคำนวณผลการประเมิน
@error('keyword_tag')
{{ $message }}
@enderror แท็กสำหรับจัดหมวดหมู่คำถาม
ตั้งค่าเพิ่มเติม
หมายเหตุ:
  • สร้างคำถามก่อน แล้วใช้การลากเพื่อกำหนดความสัมพันธ์แม่-ลูก
  • เงื่อนไขการเชื่อมต่อ (AND/OR) จะแสดงในหน้าแก้ไขกลุ่มคำถาม
  • เลือก "ใช้ในการประเมิน" เฉพาะคำถามแบบ ใช่/ไม่ใช่ และ ไม่มี (parent question)
ยกเลิก
@endsection