Form validations in Raect.js.