[rt-users] custom validation on custom fields?
Matt Zagrabelny
mzagrabe at d.umn.edu
Fri Oct 28 17:05:01 EDT 2016
On Fri, Oct 28, 2016 at 3:30 PM, Alex Hall <ahall at autodist.com> wrote:
> Indeed there is, and I honestly don't know how I missed it. All I can say is
> I must have tabbed right past it, so the screen reader never spoke the
> field's name.
>
> I noticed the pound sign being used a lot. Is the rule you mentioned in any
> way tied to the field, or is it just an internal note so you know what you
> were doing if you go back later?
Hold....
On a related note, is there a way to give a
> more readable message after the field than
> input must match [complex regex that most users won't understand]
This.
I believe the validation comment is passed back to the end-user when
validation fails:
"Custom Field State must match State Abbreviation." or something on that order.
for (?#State Abbreviation)^[A-Z][A-Z]$
FWIW, I am not sure if I've ever used the validation field of a CF. I
did have a conversation with Best Practical about it once, though.
-m
More information about the rt-users
mailing list