Flexi Contact

A Flexible and Configurable Contact Form to Add to any Page

Back to Flexi Contact Support

Fibonacci
Fibonacci

In the component of flexi contact plugin have the following code,

/**
     * Contact form validation rules.
     * @var array
     */
    public $formValidationRules = [
        'name' => ['required'],
        'email' => ['required', 'email'],
        'subject' => ['required'],
        'body' => ['required'],
    ];

I need to extend this variable. Because I just want to use email and body fields. I have created the plugin to extend that. But, how to implement in my plugin?

Thanks

Last updated

1-1 of 1