[pmwiki-users] Handing over data from an external script to a wiki page

Julian Kamil juliankamil at yahoo.com
Sun Jul 31 23:00:32 CDT 2005


I have a question about the recently added form
feature (Cookbook/Forms), which is a wonderful
feature.

What is the best way to hand data over from an
external program to an existing page containing a
form?

Here is some background info:

What I am trying to do is build a series of pages
containing form fields that should be visited by the
end user in sequence.  

The first page would collect contact info, for
example.  When the page is "submitted", a PHP script
(the "handler") will be called with the POSTed data. 
This PHP script would do some processing, such as
looking up additional info for that user, and then it
would need to invoke the next page in sequence, whose
name was given by the initial page, and hand over the
data from the first page as well as additional data
that the handler itself had produced.  The second page
contains wiki text and another form whose fields
(visible and hidden) should be populated with the
incoming data. And so on... (there's a third page, a
fourth page, etc.)

Is there a mechanism that I could use to do the data
handoff from the external script to the existing page,
without going totally custom, since I would want to be
able to edit the forms as wiki pages?

Thanks in advance for your help!

Julian I. Kamil <julian.kamil at gmail.com>

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the pmwiki-users mailing list