WTForm validation implemented.