The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I put an input mask on a Text Field (< 255 characters)?

Greg
April 4, 2013

Running JIRA v4.4

I have a text field (it's an Employee ID field) and I want a mask that forces the user to enter exactly 9 characters. Is this possible? Thanks.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Chaithra N
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 4, 2013

Hi,

You can write a simple Validator which uses JAVA REGEX functionalty to meet this.

While configuring the Validator you can Select the Field to be validated & also the Regex expression.

The Validator will make sure that User enters the value in required format.

Regards,

Chaithra

1 vote
Radu Dumitriu
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 4, 2013
TAGS
AUG Leaders

Atlassian Community Events