How to add validate rules to form?

Say for example, I’d like to require a valid email, or that the password has certain characteristics (length, special chars & numbers, etc) or password match during registration –

  1. how would that be set up
  2. where would the error message display?

I’ve used this https://github.com/gcanti/tcomb-form-native and it includes some options for handling these issues. I assume using that tcomb-form-native w/ NativeBase components would be doable?

1 thought on “How to add validate rules to form?

Comments are closed.

How to add validate rules to form?

Say for example, I’d like to require a valid email, or that the password has certain characteristics (length, special chars & numbers, etc) or password match during registration –

  1. how would that be set up
  2. where would the error message display?

I’ve used this https://github.com/gcanti/tcomb-form-native and it includes some options for handling these issues. I assume using that tcomb-form-native w/ NativeBase components would be doable?

1 thought on “How to add validate rules to form?

Comments are closed.