Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Weir O'Phinney's Blog:
Form Madness
Jul 28, 2005 @ 11:20:26

On Matthew Weir O'Phinney weblog today, this new post talks about "form madness" and the validation/creation woes that he's seen.

I continued plugging away on my own solution which was incorporating Solar_Valid for validations, adding some filtering, adding the ability to load definitions from a file, and adding the ability to use callbacks for either filters or validation rules.

I got some code together, tried it out, and felt that either something was missing, or I was doing something a little wrong. I posted the code source, and asked Paul Jones for feedback. After some initial flurries of emails with Paul asking for more detail, me providing it, Paul asking questions, me attempting to answer... Paul had me look at the source for Solar_Form. In doing so, I discovered what he was suspecting, namely, that we were trying to build something similar. Rather than continue on parallel courses, I decided to jump in and help in this aspect of the Solar project.

He goes on to talk more about the Solar Porject, the modules he's contributed to it, and some of the changes that have been made to it to help with a quick and easy form of input validation...

tagged:

Link:


Trending Topics: