I need to validate unique subdomain for a service that use universal module but the documentation is a bit of lacking. The example really fix into my requirement as in this page http://docs.blesta.com/display/dev/Error+Checking under custom rules.
I create a service option called subdomain, type text in universal module. I can see this configurable options in the order form. Now I need to check for it's uniqueness. Can anybody help me?
As I said, the example almost the same as my requirement. But I not sure where to start. Where do I wrote the custom code? How do I get my custom code be called when blesta validate the option?
Question
aneip
I need to validate unique subdomain for a service that use universal module but the documentation is a bit of lacking. The example really fix into my requirement as in this page http://docs.blesta.com/display/dev/Error+Checking under custom rules.
I create a service option called subdomain, type text in universal module. I can see this configurable options in the order form. Now I need to check for it's uniqueness. Can anybody help me?
As I said, the example almost the same as my requirement. But I not sure where to start. Where do I wrote the custom code? How do I get my custom code be called when blesta validate the option?
6 answers 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.