added validation type 'confirm'