Hi, Is anyone know how to setup CustomField mask, such
as IP address ###.###.###.###? Thanks, Zhiming.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Hi, Is anyone know how to setup CustomField mask, such
as IP address ###.###.###.###? Thanks, Zhiming.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Hi, Is anyone know how to setup CustomField mask, such
as IP address ###.###.###.###? Thanks, Zhiming.
Are you talking about the validation feature of 3.6? If so, I believe
that another user on the list had provided a link for a whole bunch of
premade regular expressions, but you’d have to search the archives for
what this was.
Else, I imagine something like this would work:
^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
Eric Schultz
United Online
Hi, Is anyone know how to setup CustomField mask, such
as IP address ###.###.###.###? Thanks, Zhiming.Are you talking about the validation feature of 3.6? If so, I believe
that another user on the list had provided a link for a whole bunch of
premade regular expressions, but you’d have to search the archives for
what this was.Else, I imagine something like this would work:
^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
And there are callbacks for CF display/edit
that are handy for this too.
Hi Todd and Eric, Thanks for your emails. More
question: how can do the validation for multiple
values? I have tried that the validation doesn’t work
for multiple value CF. Zhiming.
Hi, Is anyone know how to setup CustomField
mask, such
as IP address ###.###.###.###? Thanks, Zhiming.Are you talking about the validation feature of
3.6? If so, I believe
that another user on the list had provided a link
for a whole bunch of
premade regular expressions, but you’d have to
search the archives for
what this was.Else, I imagine something like this would work:
^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}$
And there are callbacks for CF display/edit
that are handy for this too.Eric Schultz
United Online
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.comDiscover RT’s hidden secrets with RT Essentials
from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.comWe’re hiring! Come hack Perl for Best Practical:
Careers — Best Practical Solutions
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around