Latest FormProcessor code

I’ve uploaded the “latest code”:http://peter.mapledesign.co.uk/quests/formprocessor/FormProcessor.tar.bz2 for any of you who are using FormProcessor. This release supports array named fields and multiple selects. Plus there’s a new example and a very small amount of documentation.

No unit tests yet though…

Oh, and you won’t be bale to just unzip this release with Winzip as it’s bzipped to reduce bandwidth usage.

7 comments ↓

#1 hoi on 02.09.04 at 2:34 pm

asd

#2 codegoat on 03.19.04 at 12:25 am

I have some changes that I have done to the FormProcessor (very minor, just DEBUG related). What is the status of FormProcessor? Will there be any more changes to it/releases of it?

It looks to be a very handy form processor, thanks for your work on it!

I am not sure if you check this regularly, but if you reply to this more than a few days after I posted this (March 18), if you could please e-mail me to note that you posted!

Thanks,
-Travis

#3 Peter Bowyer on 03.19.04 at 4:41 pm

FormProcessor is still under development; I just don’t have any time to code except in the holidays. Hopefully more work will be done in the next 4 weeks.

If you want to send me a diff file or the code, then I’ll look at rolling the changes into the next version

#4 codegoat on 04.19.04 at 11:43 pm

When using arrays, I have found that it always outputs:

No data set for $this->data[multiple] with handle ||multiple||

or

No data set for $this->data[multiple][0]

Depending on how the form is.

I noted that this is also happening in your example. I look at the code, and it doesn’t have any switches for turning this off. Is there a “proper” way to do this so that you don’t receive errors?

Are you looking for any partners on the project? This is a small project that I would be willing to contribute to, if you would like some help.

Let me know, or reply with features you have been considering. Or e-mail me.

Thanks for the FormProcessor so far!

-Travis

#5 Peter Bowyer on 04.20.04 at 11:02 pm

Travis,

The latest version on my HD doesn’t have this problem AFAIK - I’m emailing it to you.

I really would like some help. I’m a physics student, so I don’t get much time for programming. My task list is something along these lines:

* Plugin architecture. To add items before/after form fields, maybe to manipulate tags and suchlike. Really I think I need the whole page to be parsed into a tree-like structure, so I can edit any tag (I want to add stuff to the of the document like Javascript). Probably impossible… and more suited to a full templating system.
* Unit Tests. I don’t have the time to learn the concept to write them, but they’d be sooooo useful when making changes to the code
* Allow the error tags to be outside the current form. A big limitation for flexible layouts, but would require a huge rewrite (like the first point).
* Javascript validation (to be implemented as a plugin). Why a plugin? So that you can choose the most appropriate type, such as “Client Side Validation”:http://csv.sourceforge.net/validation.html library or “Simon Willison’s”:http://simon.incutio.com/ “on-the-fly visual feedback validation”:http://www.sitepoint.com/article/simple-tricks-usable-forms (don’t miss the “demo”:http://www.sitepoint.com/examples/simpletricks/form-demo.html to understand what I’m talking about)

I’m sure there’s other things I’ve thought of but it’s late so I’m going to bed :0)

#6 Travis on 04.20.04 at 11:35 pm

Hi Peter,

Thanks for the reply.

I am getting married in a month, so I won’t be of much use for the next month and a half (2 weeks for Honeymoon!!! :)!). But I would be interested in putting some time into this project.

I have found it quite useful, with some minor annoyances (only because only so much time has been available to put into this project), which I understand and appreciate.

Do you think this project could be put into SourceForge or something like it? Just for versioning control… We could set out a todo, and each take on different parts of the project.

It is a valuable part of web stuff, that has never been solved (successfully, I think). I am a Lead Web Developer at a software company in Victoria, BC (Canada). And I think that this would be a very valuable tool to us. With a bit of tweaking, some funky looking client-side stuff, documentation, this project could (I am sure) get quite popular, and a lot of praise.

Thoughts?

-Travis

#7 Alan Sawyer on 07.21.06 at 4:58 pm

Did anything more occur with this?? or has development stopped?? and if so, does anyone know of a similar solution?
Thanks,

Leave a Comment