Mask for custom field

Get help from the community here.

Moderator: Developers

Mask for custom field

Postby jann » Thu Jan 12, 2012 12:32 pm

Hi guys,
Is there any posibility to create my own mask of the number-field created in the "custom fields"
I need a ID of a external record (f.e 9999) and not 99999999.99
Brg.
JanN
jann
 
Posts: 15
Joined: Thu Sep 22, 2011 1:04 pm

Re: Mask for custom field

Postby eagle » Thu Jan 12, 2012 2:54 pm

You could use "text" insted of "number" and validate the field with a regular expression : ^\d+$

http://regexlib.com/DisplayPatterns.aspx?cattabindex=2&categoryId=3&AspxAutoDetectCookieSupport=1
eagle
Group-Office Expert
 
Posts: 515
Joined: Tue Jul 14, 2009 2:25 pm
Location: Norway

Re: Mask for custom field

Postby jann » Fri Jan 13, 2012 8:30 am

Dear sir,
Good idea. Thanks for your help.
Brg.
JanN
jann
 
Posts: 15
Joined: Thu Sep 22, 2011 1:04 pm


Return to General help

Who is online

Users browsing this forum: No registered users and 0 guests