The templating system does not provide this functionality (validation) at the moment. I think we can add it later, wdyt?