edit template validation, constructor for new template field