# fluentform/6.2.13/app/Services/Settings/Validator/Pdfs.php

Fluent Forms – Customizable Contact Forms, Survey, Quiz, &amp; Conversational Form Builder, version 6.2.13. 28 lines.

- Page: https://pluginprobe.com/plugins/fluentform/6.2.13/code/app/Services/Settings/Validator/Pdfs.php
- Raw: https://pluginprobe.com/plugins/fluentform/6.2.13/raw/app/Services/Settings/Validator/Pdfs.php
- Modified: 2023-06-22T15:10:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluentform/6.2.13/code/app/Services/Settings/Validator/Pdfs.php#L10-L20`.

```php
<?php

namespace FluentForm\App\Services\Settings\Validator;

class Pdfs extends Validate
{
    /**
     * Produce the necessary validation rules and corresponding messages
     *
     * @return array
     */
    public static function validations()
    {
        return [
            [
                'name'     => 'required',
                'template' => 'required',
                'filename' => 'required',
            ],
            [
                'name.required'     => 'The Name field is required.',
                'template.required' => 'The Template field is required.',
                'filename.required' => 'The Filename field is required.',
            ],
        ];
    }
}

```
