ok im at the point in my project where i need to remember the state of a form. though i know this wheel has been invented before, but ihavent been able to find anything i want.
I'm not really asking for a solution per-se but just wanted to see some people opinion on this, and of course im open to criticism/comment
i guess ill just think of this as a blog for this project, which i should be done with by tomorrow
i want to...
. have a Form Object
. store the currect state of the form
. store the a default state in the form
. be able to ask the form to store its values for later
. be able to ask the form to retieve its values from before
. have the form be aware of which values are mandatory
. have the form validate its contents
. have the form find its contents automaticlaly from some location like GET/POST/REQUEST
. have the form be able to produce a correct html input for each field
that doesn't seem to ask much does it 🙂
i have a lot of random code that does most of this, so i've already done most of the work, im just kinda collefting and organizing my thought into one object