I'm trying to create a field with custom validation. The input must be validated against a array with data. For example, it must start with: array('1428','2159','2241','2242');
I have already searched the docs and faq, but was unable to find how to create his. I have found the following topic on this forum:
http://forum.gravityhelp.com/topic/custom-field-that-supports-validation-by-regular-expressions
But I'm unable to find out where I need to put that code.