I cannot find any documentation on how to format validation rules or custom validation functions on fields. There are a couple of examples of validation formats like this post:Using validation rules to ensure a comments box is not left empty
But no documentation showing how these functions should be formatted. For example through trial and error I have now discovered that you cannot use any spaces in your functions. What is confusing is no errors are thrown, rather the function just doesn't work. The other thing I've discovered is that apostrophe's need to surround text values 'Example', quotes do not work "Example".
If anyone could point me to the documentation I would greatly appreciate it!