@php $protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https' : 'http'; $host = $_SERVER['HTTP_HOST']; $requestUri = $_SERVER['REQUEST_URI']; $current_url = $protocol . '://' . $host . $requestUri; preg_match('/\/edit\/(\d+)$/', $current_url, $matches); $page_id = isset($matches[1]) ? $matches[1] : null; $result = DB::table('pages_forms')->where('page_id', $page_id)->get(); @endphp
Form Name Show on page Required Sequence
First Name show_on_page == 1 ) checked @endif @endif > required == 1 ) checked @endif @endif>
Second Name show_on_page == 1 ) checked @endif @endif > required == 1 ) checked @endif @endif>