MandatoryIcon plugin

Show required icons for mandatory fields

Usage

The following piece of code is the starting point to use the MandatoryIcon 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.

For example, to use the plugin with FontAwesome, we can set the icon option as:

Basic example

Changelog

  • v1.0.0: First release

Related validators

The following validators might be useful to you.