OK, I’ve put up “a tarball of the FormProcessor code”:http://peter.mapledesign.co.uk/quests/formprocessor/FormProcessor.tar.gz as it stands on my hard drive.
First some disclaimers: there is no documentation to speak of, and I haven’t the foggiest idea what status this code is. I’ve released it again because people keep on emailing me for it
Use at your own risk etc.
When the SVN hosting disappeared I lost the changelog, so what stat this code is in I don’t know. If it doesn’t work let me know, or if you find bugs.
Development’s currently halted due to other interestes and a lack of time. I have plenty of ideas for it and know where I want the code to go, and plan to continue with it at some point. I think a similar idea would also be a great addition to “Rails”:http://www.rubyonrails.com! I envisage changing the rendering pipeline of the script to make it smoother… watch this space (for documents on proposed changes, if not code).
If anyone has SVN hosting they can donate that would be fantastic.
10 comments ↓
Greetings. Like many others before me, I too have been looking for the “right” form processing class to use in various projects and came across your and Simon’s work. I just wanted to drop a note to say thanks for sharing, and have extended your work in a slightly different direction. Here is a very much still in-progress change log:
+ reintegrated original inline ruleset parsing
+ added standardized error gylph indication
+ added XML translate entities function for more robust handling with default XML parser
+ added trim and strlen check to regexp and callback error checking to prevent false positives
+ added min and max length error checks
* cumpulsory renamed to required
* required rule can be any value (yes, y, etc)
* alpha regexp validation allows spaces
* fixed numeric regexp validation
* error messages simplified to ‘validate’, no longer specific to regexp or callback
- PEAR XML parser class
- separate XML ruleset parsing
- inline error message handling
Let me know if for any reason you would not want this released (I assume the original was GPL but could not confirm this).
Hiya,
Good to see someone developing from this code. Some of the things I’ve been meaning to do, like reintegrating the inline rule parsing. There’s no problem with re-releasing the code, it’s under the modified BSD license IIRC.
I’d like to roll some of these modifications back into the code if that’s ok? And to see your code
Absolutely! I should have a beta release candidate by this weekend, but still want to add validation rules caching and possibly a validation plugin system. The download will be available off my website.
Hi Gestaltware,
I’m looking for a newer version of this script where I can experiment some new features that I have in mind.
I check your website and found that you are using it in your contact form, but could’nt find where to download the actual script.
Do you have any beta that I can use instead of the available 1.2 version.??
Best regards,
Chris
The tarball here is the latest version at the current time. To check for more recent versions, see the latest post in this category.
Congrats on an EXCELLENT Script,
Just wanted to let you know how great I think this script is. I’ve tried several other alternatives for validating forms, and yours blows them all away BY FAR.
___Excellent piece of work.!___
A little help here… There is a message when you run your script that I can’t fix from appearing ‘FormID not set’, I’m new to PHP and it’s still hard for me to work with classes, any help with this message.?
Hello, really the script is great. I’m trying to get to use it in one of my projects.
Is there somewhere an example of a form with a file upload managment? I can’t seem to make it work in the right way. Maybe I miss something but I have some problems on that.
Any help would be appreciated..
thank you very much!
Simone
Hello,
does anyone got the complete script.
In the posted tarball file are missing some include files.
Thanks!
Ronald, what files are missing? I can’t see any that should be there but aren’t.
Hi Peter,
first thanks for the script.
Now question: Can you please compress 0.3 version of the script since I form some reason can not download “MyFormProcessor.class.php” file
Thanks
Leave a Comment