@extends('layout.index') @section('title', 'Master Question Validation') @section('content') Master Question Validation @if ($message = Session::get('error')) {{ $message }} × @endif @if ($message = Session::get('success')) {{ $message }} × @endif {{ csrf_field() }} {{$aQuestion->name_description}} All Country Add New Question Required Readonly Numeric Decimal Length {{ !empty($aError['decimallength_val']) ? $aError['decimallength_val'] : '' }} Only Alpha Minimum value {{ !empty($aError['min_val']) ? $aError['min_val'] : '' }} Maximum value {{ !empty($aError['max_val']) ? $aError['max_val'] : '' }} Minimum value for per acre farm area {{ !empty($aError['min_farm_area_val']) ? $aError['min_farm_area_val'] : '' }} Maximum value for per acre farm area {{ !empty($aError['max_farm_area_val']) ? $aError['max_farm_area_val'] : '' }} Maximum value for per acre farm area (All activity) {{ !empty($aError['max_farm_activities_val']) ? $aError['max_farm_activities_val'] : '' }} Maximum value upto selected question Select Question @foreach($aQuestions as $question) id) ? 'selected' : ''}}>{{$question->id}}) {{$question->name_description}} - {{$question->form_name}} @endforeach {{ !empty($aError['max_cycle_field_val']) ? $aError['max_cycle_field_val'] : '' }} Minimum value upto selected question Select Question @foreach($aQuestions as $question) id) ? 'selected' : ''}}>{{$question->id}}) {{$question->name_description}} - {{$question->form_name}} @endforeach {{ !empty($aError['min_cycle_field_val']) ? $aError['min_cycle_field_val'] : '' }} Required only on selected question has given answer Select Question @foreach($aQuestions as $question) @if($question->form_id==$aQuestion->form_id) id) ? 'selected' : ''}}>{{$question->id}}) {{$question->name_description}} - {{$question->form_name}} @endif @endforeach {{ !empty($aError['required_condition_val']) ? $aError['required_condition_val'] : '' }} Minimum sum of selected questions Select Question @foreach($aQuestions as $question) id,$aValidation['minsum_val'])) ? 'selected' : ''}}>{{$question->id}}) {{$question->name_description}} - {{$question->form_name}} @endforeach {{ !empty($aError['minsum']) ? $aError['minsum'] : '' }} {{ !empty($aError['minsum_condition_ans_val']) ? $aError['minsum_condition_ans_val'] : '' }} Submit Cancel