I have an action that triggers a webhook. The webhook expects an email address as input, but we have users who inevitably populate the email address form with something other than an email, which causes the webhook to fail. Is there a way to do validation on an action form (or some other input form) to ensure an email is provided before pressing send
Hi @bwolz ,
You can define a value type on the property you want to validate in the Ontology Manager
Then:
You add a constraint:
Regex: ^([\w.%±]+@[\w.-]+.[a-zA-Z]{2,63})?$
You can also, in for form of the action, define a constraint:
Hope it helps
1 Like