TheArchitypes / mini-app

0 stars 0 forks source link

Initial basic form construction #3

Open paulmtrueba opened 6 years ago

paulmtrueba commented 6 years ago

Using Formik ( https://github.com/jaredpalmer/formik ) with Yup validation build out forms as described in emailed images img_1746 img_1747 img_1748

paulmtrueba commented 6 years ago

urla-borrower-information.pdf

paulmtrueba commented 6 years ago

additional complexity is going to need to be built into the existing automatic form builder to allow for greater control of formatting. Exiting form builder logic is allowing form fields to be built out based on the json file and then aligned left or right but this will need to be updated to allow for groups of form fields to be built out within sections.

I began laying out this new structure on Friday night but have been building out the forms that will be displayed within the demo as static elements since it is more important to have the 1003 form built out and working right now than it is to allow for it to be dynamically built from the json config file

paulmtrueba commented 6 years ago

relational structure of JSON form elements applied to more complex form layouts:

recursive strategy enters at subsection within section, a sub`section needs to be able to recursively loop over and switch between a form input and further subSections that could be contained within