Validation and form on/off toggler