admin管理员组

文章数量:1404572

I wanted to implement a basic form with text inputs, segment control and submit button. Now I want to validate the text inputs to either display error or move to next page on click of submit button. How to implement this design or any tool for the same?

I wanted to implement a basic form with text inputs, segment control and submit button. Now I want to validate the text inputs to either display error or move to next page on click of submit button. How to implement this design or any tool for the same?

Share Improve this question edited Aug 16, 2017 at 15:21 Ravi Aggarwal asked Mar 4, 2017 at 12:48 Ravi AggarwalRavi Aggarwal 1591 gold badge1 silver badge10 bronze badges 1
  • 1 Change 'How to implement this design?' to 'Which tool should I use?' and you will get more upvotes;) And also you can check this question: stackoverflow./questions/36147276/… – Outside_Box Commented Jun 21, 2017 at 14:02
Add a ment  | 

2 Answers 2

Reset to default 1

Have a look at this project it has good patterns for form validation:

https://github./gcanti/tb-form-native

1] Check below project.It has good example for form validation : Github Project
2] Example/Demo of above project : Live Demo

本文标签: javascriptForm validation in React NativeStack Overflow