As can be seen this is a public static array and if requiered there is a way to define your own validation rules. You will need just to extend this array with your own types.
Please let me know if you have any other questions.
Thank-you for this, its exactly what I was looking for.
Can you please also tell me, is it possible to control the error message? For example, instead of seeing an error like vc_comments is a required field, I would like to be able to control that output to be something more friendly like ‘Comments is a required field’. Currently it puts the name of the database field as the error output which does not look very nice to the user.
Yes please, I really need that not only for a usability standpoint for users, but also for a security standpoint too. Why advertise your database design to potential would-be hackers. Less they know about the database and its design / field names the better.
I think I want to wait for the new version to come out before publishing this Grid, I dont like the idea of users seeing messages they wont understand or advertising database field names to the world.