[pmwiki-users] Validating and appending data from Forms and Displaying

Peter & Melodye Bowers pbowers at pobox.com
Thu Mar 20 16:03:20 CDT 2008


> I would like to create a sign-up sheet for an event. Before moving to
> PmWiki I used a perl script for this form with a simple csv file
> containing all the allowed emails. I simply recorded the registered
> emails in another csv file and dynamically generated a page listing
> those registered.
>...
> I believe a form simple fields would suffice for input. I would want
> to at least validate the email (i.e. match the regexp /^.+ at .+\..+$/ ),
> or preferably verify it with a list of acceptable emails (this is a
> members club where everyone has an email already). I would also like
> to be able to generate a page listing those already registered.

If your familiarity with perl means that you are also familiar with shell
scripting (bash) then WikiSh can handle this for you relatively easily.
You'd need to put together some simple forms (using either httpvariables or
ProcessForms recipes to get access to the field values on your page) but
then you could do all the rest of the validating, processing, etc. through
WikiSh.

If you're not familiar with shell scripting then the learning curve is
probably more pain than it's worth to you.

You might look at Fox Forms as another alternative.

-Peter 





More information about the pmwiki-users mailing list