Developer forum

Forum » Feature requests » Add validator to item creator for required fields

Add validator to item creator for required fields

Hans Ravnsfjall
Reply

Hi

It is a really needed feature, to have Validator for required field when populating items using the items creator

hope this can be added as a feature asap.


Replies

 
Nicolai Høeg Pedersen
Reply

You can easily do this in your template using JQuery or similar.

BR Nicolai

 
Hans Ravnsfjall
Reply

Ok, but it´s because it is template based that it can not be done as in the forms module i presume. Because if it was possible, it would save us a lot of time setting up validators.

 
Nicolai Høeg Pedersen
Reply

Hi Hans

Item creator does have validations - the default template has a loop of validation errors - so if a field is required, it should require it and display it in that loop. It happens serverside. But yes - the 2 modules work a bit different. Forms for editors is new and is using some newer browser features to do validations.

BR Nicolai