MichaelCereda / react-native-form-generator

Generate forms with native look and feel in a breeze
MIT License
377 stars 105 forks source link

validate a field based on some other field value? #119

Open ramsestom opened 7 years ago

ramsestom commented 7 years ago

Is it possible to use another field value into a field validation function? For example, suppose you have a password field and a password confirmation field in your form. Is it possible, in the password confirmation field validation function to check that it's value do match the one of the password field?