FieldStatus plugin

Track the field status, and allow to perform an action when a field status is changed


The following piece of code is the starting point to use the FieldStatus plugin:
<link rel="stylesheet" href="/vendors/formvalidation/dist/css/formValidation.min.css" />
<form id="demoForm" method="POST">...</form>
<script src=""></script>
<script src="/vendors/formvalidation/dist/js/FormValidation.min.js"></script>
document.addEventListener('DOMContentLoaded', function(e) {
fields: {
plugins: {
fieldStatus: new FormValidation.plugins.FieldStatus({
onStatusChanged: function(areFieldsValid) {
// areFieldsValid is true if all fields are valid
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.

See also


  • Fixed an issue that the plugin doesn't work with ignored fields
  • The getStatues() method is renamed to getStatuses().
  • First release. It means that the Excluded plugin requires FormValidation v1.5.0 or newer