PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.6
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.6
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Services / Settings / Validator / Pdfs.php

Pdfs.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.6, at app/Services/Settings/Validator/Pdfs.php

28 lines 694 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentForm\App\Services\Settings\Validator;
4
5 class Pdfs extends Validate
6 {
7 /**
8 * Produce the necessary validation rules and corresponding messages
9 *
10 * @return array
11 */
12 public static function validations()
13 {
14 return [
15 [
16 'name' => 'required',
17 'template' => 'required',
18 'filename' => 'required',
19 ],
20 [
21 'name.required' => 'The Name field is required.',
22 'template.required' => 'The Template field is required.',
23 'filename.required' => 'The Filename field is required.',
24 ],
25 ];
26 }
27 }
28