FORM4U IS A REACT NATIVE FORM BUILDER
A React Native component which works like a Form Builder.
I first started this project to help myself on personal projects and for learning purposes, but them it turned out that maybe it can help others to build apps using this simple, light and fast Form Builder.
Uses React Hooks just to demonstrate this new fabulous feature of React.
To dynamic build a form, simple declare an array of fields as shown below. Use same default properties from RN Components Library, sucha as TextIput, Button, TouchableOpacity.
1. Defining Fields
2. Defining form validation rules by field
3. Declaring callback to be executed after form submission/validation
4. Using the component
BACKLOG
- [ ] refactor to use styled components
- [ ] Implement other field types
- [ ] Tests
VERSION HISTORY
0.0.3
- [ x ] implement form validation with error messages
0.0.2
- [ x ] Implement custom form picker
- [ x ] Allows form to render any kind of React component
- [ x ] Added react-native-maked-text to allows masked input texts