Hear us Roar
There is a documentation about a "validwhen" features that could suit your needs...
I should have RTFDocs :-)
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.