@extends('layouts.app') @section('bodyClass', 'form-builder form-builder-overview') @section('content') @section('PageHeading', 'Form Builder') @php // Url Fetching // $urlSegments = request()->segments(); // $encodedStudioId = $urlSegments[count($urlSegments) - 4]; // $encodedFormId = $urlSegments[count($urlSegments) - 3]; $studioId = $studioId; //$formId = $formId; $studioDetails = FormHelper::getStudioConfig($studioId); $primaryColor = ($studioDetails->primary_color) ?? '#1E1545'; $secondaryColor = ($studioDetails->secondary_color) ?? '#CF0D20'; @endphp
@if(!empty($form_datas)) @endif

Form Details

@csrf
@if($form_datas->form_type == '1' || $form_datas->form_type == '4')
@endif
@if (isset($images['studio_images']))
@endif
@if($form_datas->form_type == '1' || $form_datas->form_type == '4')
@endif
@if($form_datas->prizeform_type > 0)
@elseif($form_datas->form_type == '1')
is_email == '1' ? 'checked' : '' }}> Send confirmation email once form is submitted
@endif
@if($form_datas->form_type != '4')

Drag and Drop Components

@if (!empty($components)) @foreach ($components as $compKey => $compValue) @php $componentId = $compValue->id; $compName = $compValue->component_name; $compCode = $compValue->component_code; $compDesc = $compValue->component_desc; $isListComp = $compValue->is_list_component; @endphp @if($isListComp == '1') @if ($compValue->id == 1 || $compValue->id == 2)
@php $imagePath = public_path('images/form_icons/' . $compValue->component_image); @endphp @if(File::exists($imagePath)) @else Default Image @endif

{{ $compName }}

{{ $compDesc }}

@else

{{ $compName }}

{{ $compDesc }}

@endif @endif @endforeach @endif
@endif