So, I am not a coder. I have added a service option to a product to capture the Client ID of any referring customers. I would like to create a JSON rule to validate that anything entered into this field is numeric and 4 digits long. I have reviewed the doco on input rules, having no background in this I have no idea where to start.
Question
Brashquido
Hi All,
So, I am not a coder. I have added a service option to a product to capture the Client ID of any referring customers. I would like to create a JSON rule to validate that anything entered into this field is numeric and 4 digits long. I have reviewed the doco on input rules, having no background in this I have no idea where to start.
http://docs.blesta.com/display/user/Universal+Module#UniversalModule-InputRules
I am already using the JSON code in the doco example to validate the hostname entries. Anyone able to assist?
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.