MaterialTemplate validation