London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hello - I'm created custom fields for things like zip codes and phone numbers with front end masking - but I'd like to aslo pre-define a regex for these fields by default.
I'm able to overwrite the SetDefaultValues, and set the Regex Checbox to be checked by using
This is easy enough. I'm pretty sure I need to use RegularExpressionAttribute to set the default regex, but I can't seem to figure out how to set this equal to a regex value by default.
This is where I'm at thus far
And of course, this isn't working.
I'd also like to know how to set the default message as well.
Thanks