Client side verification for inputs.