Step 1:
npm install react-native-form-helpers
Step 2:
Create a dictionary file (example dictionary)
Step 3:
import RNFormHelpers from "./react-native-form-helpers";
import { validationDictionary } from "./dictionary.js"; // location of your dictionary file
export const validationService = RNFormHelpers({
dictionary: validationDictionary
});
Step 4:
Import into your form and utilize the built-in methods. See below tutorial or sample app for more details.