I am working on a project that requires hefty form field submissions of input fields and textareas. I have found it very exhausting to write the 50+ html fields with their associated attributes, then write the client submission method call including all 50+ fields, and then once again write the server submission method.
I have expedited this a little bit because I am handy with my keyboard short cuts. But all in all I have to address 150+ items. And to make things worse I have to almost replicate this on another “view”. I wanted to loop through the fields, and place them into the Meteor.method parameters. But I could not think of a way to do that without it turning into one long string.
To put the scenario into context, It is a listing app for boats. So the admin would come in and fill out the form for all the specs relating to the boat. This would be then be submitted and displayed where every necessary. Then there is another form with similar fields but to update that boats specs if there was a mistake or change.
Has anyone else had to address forms with lots of input/text fields?