Page 1 of 1

Adding a new field with the hour [FIXED]

Posted: 16 Dec 2014, 15:58
by Reivaj
Hi again, I want to add a new field in the bug reporting page with the hour, in 24hrs format

Does any body knows how to add that field in the best possible faith? I thought to add the field with a regular expression.

Any body can help me??

I tried with that but it doesn't work

Code: Select all

/^(2[0-3]|[01]?[0-9]):([0-5]?[0-9])$/
Thanks in advance!!!!

Re: Adding a new field with the hour [FIXED]

Posted: 16 Dec 2014, 17:22
by Reivaj
You just have to choose string as a field type and with the previous regular expression, and the user only will be able to insert the hour with this format
XX:YY