Flexi Contact

A Flexible and Configurable Contact Form to Add to any Page

Back to Flexi Contact Support


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?


Last updated

1-1 of 1