Adding a new field with the hour [FIXED]

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Reivaj
Posts: 27
Joined: 11 Nov 2014, 16:48

Adding a new field with the hour [FIXED]

Post 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!!!!
Reivaj
Posts: 27
Joined: 11 Nov 2014, 16:48

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

Post 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
Post Reply