Working with nested form fields and default form values in this.state
unuigbee opened this issue · comments
I'm building a multi step form and i'm having a bit of trouble understanding how to get this to work with nested form field sections. Example: Form Container
Hmm, you're right, Formous wasn't really built with multi-stage forms in mind. It won't work because if you have a submit button for step 1, it will run tests on required fields in steps 2, 3, etc, and fail, and you won't get the values you need. And you can't break up the fields either.
I've got an idea that could work: have a helper function that will let you run tests on a specific group of fields only, and possibly get their values if you need to store them temporarily in state. I'll add that when I get some spare time!
Aww that's unfortunate. But thanks for the insight. Can't wait for the feature though!