Excluded plugin

Ignore validations on particular field


This plugin allows you to indicate fields which won't be validated. By default, the plugin will not validate the following kind of fields:

  • disabled
  • hidden
  • invisible

The following piece of code is the starting point to use the Excluded plugin:

The sample code above assumes that the FormValidation files are placed inside the vendors directory. You might need to change the path depending on where you place them on the server.

Basic example

In the following form, there are two invisible fields called Job title and Department. Since they are not visible initially, they will not be validated when you click the Submit button.

Clicking the More info button will turn them into visible fields, and as result, they will be required due to their validation rules.


  • v1.3.0: First release. It means that the Excluded plugin requires FormValidation v1.3.0 or newer.

More examples