add cartec validation on template creation