Updated FormProcessor code released

The latest version of FormProcessor is now available through my new Subversion repository:

“http://svn.mapledesign.co.uk/svn/FormProcessor/”:http://svn.mapledesign.co.uk/svn/FormProcessor/

This repository allows anonymous checkouts, to get the code you’ll need a “Subversion client”:http://subversion.tigris.org/project_links.html - I use “TortoiseSVN”:http://www.tortoisesvn.org/ on Windows.

13 comments ↓

#1 Simon Willison on 07.24.04 at 7:54 pm

Actually you don’t need a Subversion client to get at the code at all. If you go to the URL in a browser you can grab the files one by one, but better yet you can point any WebDAV client at it (the finder in Mac OS X works great, and Windows XP does WebDAV via its “Network Places” feature - just paste the URL in to the Wizard.

#2 Peter Bowyer on 07.24.04 at 8:42 pm

Hi Simon.

That’s certainly true, although I didn’t think anyone would want to save the files individually. In this case Windows XP’s WebDAV doesn’t allow you to access it without a username/password. I’m not sure if this is the server’s setup or XP.

#3 Lars Olesen on 07.25.04 at 7:22 pm

Hi Peter,

Nice changes you made. If you accomplish to have the script do some clientside validation as well, according to what Simon has suggested elsewhere, it will be absolutely brilliant.

Perhaps you should edit line 685 as well, so it will also do a check on php-version, as line 85 does.

Regards
Lars

#4 Peter Bowyer on 07.25.04 at 11:00 pm

Hi Lars,

Client-side validation coming once I can work out a way to do plugins in the script - I don’t want to hard-code one particular way to do client-side validation into FormProcessor, but rather have a few implemented as modules.

That’s the dream anyhow :-)

#5 Lars Olesen on 08.28.04 at 5:21 pm

Hi Peter,

Just one more proposal. Often you write a form dynamically, e.g. if the script tells how many persons is to be added, but with the script at the moment, you have to write the xml-validation file dynamically as well. It would be smart if there was a way to just load the validation rules from a string, as it is possible to load the form from a string.

Regards
Lars

#6 Lars Olesen on 10.01.04 at 9:26 pm

I’ve been working even more with your formprocessor. I have a few suggestions:

* still think you should just use PHPs own XML-processor instead of demanding the PEAR-package.

* I think you should implement the javascript validation method utilizing the same xml-file as the serverside validation uses. That would be really clever.

* Somehow it should be implemented (like it was in the original script by Simon Willison) that the error messages can be put next to the input-fields filled out wrong.

* The current version doesn’t support loading a dynamical form from a string - e.g. including php-code. That would be clever, when needing forms with some php in it and you want to reuse it other places.

* The same could be told about the validation - which also should be dynamical, if you have dynamical formulars.

Just my thoughts. Hope they are helpful.

Regards,

Lars Olesen

#7 Tim Rutter on 03.10.05 at 11:58 am

Can’t seam to get the SVN server to respond, can’t even ping it.
resolves the IP fine then ………………..nothing.
even tried to let it connect for a whole day with it set not to timeout and still nothing.

#8 Peter Bowyer on 03.10.05 at 12:16 pm

Yes, I think it’s just disappeared, as the guy who was hosting it has changed jobs and his server’s gone… I will have to figure out something to do - can anyone else host it in SVN?

#9 Tim Rutter on 03.15.05 at 4:22 pm

Is it at the stage a update could be available as a tar from your site.
Its just that v1.2 has error on our isp’s new server

http://www.ioj.com.au/private/FormProcessor/Examples/add_user.php

email me for the login

#10 Donald Plummer on 03.29.05 at 2:53 pm

Any luck on the _get_data function in making it work with multi-dimensional arrays? In looking at the code I quite clearly have no clue how to extend it and was hoping maybe one of your more recent releases (better than v1.2 from 2003) might have it fixed. Thanks!

#11 Tim Rutter on 04.12.05 at 2:19 pm

When we be able to get updates of FormProcessor via cvs/svn or at-least latest builds via http/ftp.

#12 Cristian on 07.31.05 at 6:20 pm

Hi everybody,

For some time I been looking for a script to process forms and I think that the concept used in this one is genius.
I have a couple of ideas that I’m working on implementing on this great script.

For example, I want to use a default xml validations rules file.
That is an xml file were the form processor will check for validation rules.
for example if the “name” field, “address” field, “phone” field, ….”whatever” field is used in a bunch of forms, why not define the validation rules for this fields in a default xml file. The form processor will check this default file but this default rules will be replaced for the rules defined in the rules xml file for the actual form if they are defined.
Not sure if I’m being clear..??

Anyway…. I’m having some problems with the available version of the script. anybody has a newer, working, improved copy of this script where I can start working on…(Instead of fixing an old copy I think is better to improve a new one….)

Best regards…
Cristian

#13 Gerry on 10.10.07 at 5:23 pm

http://www.assembla.com/ provides free svn. It looks like a fantastic service.

I really want to see the latest version of this project, Please! upload it.

Leave a Comment