CityWebConsultants / Iris

Modular content management and web application framework built with Node.js and MongoDB
http://irisjs.org
Other
9 stars 7 forks source link

Forms tidy up and store form render object server side #357

Closed FilipNest closed 7 years ago

FilipNest commented 7 years ago

This needs #342 in before it can work.

I've split off all the form parts into separate files:

I've also removed some unused bits and pieces and made the formPrevious object now something that is stored on the server side only. It's accessed in the submit hook in the same way as before.

Loads more tidying up to do but this is a start to make the rest more manageable.

adam-clarey commented 7 years ago

There is a lot of non-form stuff in this PR, are there commits in here that shouldn't be?

FilipNest commented 7 years ago

As I said above this is working on the result of the other pull request. It's merged in from that one so shares all its stuff.

FilipNest commented 7 years ago

This should be ignored until the other one is merged in. Or just merged in instead of the other one as it'll include it as well.