[rt-users] Mask custom field?
Zhiming Liu
liuzmus at yahoo.com
Tue Aug 1 13:27:56 EDT 2006
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.
--- Todd Chapman <todd at chaka.net> wrote:
> On Mon, Jul 31, 2006 at 09:55:18AM -0700, Schultz,
> Eric wrote:
> > > 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 at bestpractical.com
> >
> >
> > Discover RT's hidden secrets with RT Essentials
> from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com
> >
> >
> > We're hiring! Come hack Perl for Best Practical:
> http://bestpractical.com/about/jobs.html
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the rt-users
mailing list