In Appwrite you will want to use Cloud Functions to handle this kind of extra logic. We're still checking for ways to make data validation more flexible without regex, as regex validation is complex and might come with some security risks: sec.okta.com/articles/2020/07/dang....
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is there a way to stop a document from being updated or created eg if one of the fields don’t match a regex?
Parse call this Triggers
docs.parseplatform.org/cloudcode/g...
Thanks
In Appwrite you will want to use Cloud Functions to handle this kind of extra logic. We're still checking for ways to make data validation more flexible without regex, as regex validation is complex and might come with some security risks: sec.okta.com/articles/2020/07/dang....