Turret plugin

Integrate with turretcss framework. Support turretcss v4.1.4


The following piece of code is the starting point to validate the form made in turretcss:


document.addEventListener('DOMContentLoaded', function(e) { FormValidation.formValidation( document.getElementById('demoForm'), { fields: { ... }, plugins: { turret: new FormValidation.plugins.Turret(), ... }, } ); });

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.

The next sections list out some examples of various forms made with turretcss.

Stacked form

You need to add the fv-stacked-form class to the form element such as:



  • v1.2.0: First release. It means that the Turret plugin requires FormValidation v1.2.0 or newer.