Файловый менеджер - Редактировать - /home/clickysoft/public_html/rgr.clickysoft.net/app/Http/Requests/ReferNowRequest.php
Назад
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ReferNowRequest extends FormRequest { public function rules() { return [ 'your_first_name' => 'required|string|max:255', 'your_last_name' => 'required|string|max:255', 'your_email' => 'required|string|email|max:255', 'your_phone' => 'required|min:9|max:25|regex:/^([0-9\s\-\+\(\)]*)$/', 'your_practice_id' => 'required', 'your_job_id' => 'required', 'your_city' => 'required', 'your_country' => 'required', 'your_address' => 'required', 'your_zip_code' => 'regex:/^\d{4,6}$/', //separate new work 'first_name' => 'required', 'last_name' => 'required', 'date_of_birth' => 'required', 'phone' => 'required|min:9|max:25|regex:/^([0-9\s\-\+\(\)]*)$/', 'address' => 'required', 'email' => 'required|string|email|max:255', 'treatment_type' => 'required', 'referral_notes' => 'required', 'medical_history' => 'required', 'to_practice' => 'required', 'file_name.*' => 'mimes:png,txt,jpg,jpeg,gif,doc,docx,pdf', 'referring_dentist' => 'required|string|max:50', 'g-recaptcha-response' => 'recaptcha', ]; } public function messages() { return [ 'file_name.*.mimes' => 'Only the following file types are allowed: png, txt, jpg, jpeg, gif, doc, docx, pdf.', 'your_zip_code.regex' => 'Allowed minimum 4 and maximum 6 numbers.', 'g-recaptcha-response.recaptcha' => 'Please complete the reCAPTCHA.', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка