It's all about the answers!

Ask a question

RTC 3.x Is it possible to assign a Validator to an attribute of type Duration?

Phil Barrett (33911) | asked Nov 21 '12, 3:06 p.m.
edited Nov 26 '12, 6:17 p.m. by Rich Kulp (3.6k38)

The Estimate attribute has a default type of Duration. I cannot see how to change the attribute type to something other than Duration (nor do I think I want to given that the estimated versus actual comparisons and other calculations are prominent and driven off the Duration type in muliptle areas in the tool like plans and widgets).

My objective is to add a Validation on the estimate field so that a minumim of 8 hours is entered but a maximum of 40 hours is not exceeded.

Any help would be greatly appreciated!

One answer

permanent link
Ralph Schoon (61.5k33643) | answered Nov 22 '12, 5:00 a.m.
Hi Phil,

have you looked at using a script? See

If you do that you can access the data you want using


and get the data in milliseconds..

Your answer

Register or to post your answer.