You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if the title isn't clear; I was trying to keep it short.
We have a custom script with a variable that utilizes regex validation. Currently if validation fails it spits out the entire regex string in the error, which isn't really helpful to the end user. The example below accepts a comma separated list of email addresses. Ideally there'd be something a bit more human readable as the error message -- is that possible?
I've also seen a similar error in a Custom Field that uses regex to match telephone numbers, but I'm not sure that case would be as easily addressable as a custom script would be.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sorry if the title isn't clear; I was trying to keep it short.
We have a custom script with a variable that utilizes regex validation. Currently if validation fails it spits out the entire regex string in the error, which isn't really helpful to the end user. The example below accepts a comma separated list of email addresses. Ideally there'd be something a bit more human readable as the error message -- is that possible?

I've also seen a similar error in a Custom Field that uses regex to match telephone numbers, but I'm not sure that case would be as easily addressable as a custom script would be.
Beta Was this translation helpful? Give feedback.
All reactions