Righty-o... I've created a dynamic form. By dynamic, I mean its an object that's created and when the object is created the fields etc. are specified. So i cant know what each field is going to be called in advance.
So after this form submits it goes to another page that processes the data... all fine and dandy. however, to process the data, what is the best way to find all the fields?
Is it possible to get all the data entries via the form name? (this can be fixed) - then i could use sessionID to check its coming from the right place as security. I just had a thought, would the form name give me an array of the objects in it? I'll go and try this.
or would it be better to put the form object into a session and have that on the next page as a reference, and infact, i could add validation into the class and just enter the data into it on the following page... however, this idea doesn't quite seem right to me. Is it a good or bad idea to store lots of stuff like that in sessions?
I'd really love some feedback. Thanks