Question
I have a regular need to create a form for users to input information which should then be sent via an e-mail to the coordinator for that project. I've gone through the various form comments and look at notifications, but I don't seem to find this specific application.
Environment
--
MichaelBarnes - 23 Feb 2004
Answer
There is no specific support for this application, though there is support for notification of topic changes (
WebNotify) that may suffice. Failing that, your only option would be to create a plugin (this would actually be quite simple to do in a plugin).
--
CrawfordCurrie - 25 Feb 2004
I have exactly the same need as Michael had have when opening this support / feature request. However,i am not capable to write such a plugin. As a workaround i thought of an external formhandler, but this would not be the prefered solution. Since it is 2005 now, is anyone aware of such an integrated solution for one of the recent twiki releases?
--
WolfgangAlper - 05 Feb 2005
I'm not
quite sure I understand the requested feature, so I'd like to check. Are you asking for ability to
send out content of a topic's form data by email, or do you want to send someone a blank form in which they input data which they then send to the coordinator who in turn imputs the data into a twiki form? Or something else...
--
LynnwoodBrown - 05 Feb 2005
Basically i am looking for a the ability to create a form with custom fields (including hidden fields) that are not related to a topic or metadata. The content of that form should be send to an email adress that is defined within the form. So very similar to non-wiki email forms for "request for productinformation" etc.
Example: A simple form containing the following fields:
Field Name: myname
Field Lastname: mylastname
Field Location: mylocation
Field Emailadress: myadress@abc.com
Field Hidden: From: formmanager@xyz.com
Field Hidden: Sendto: xyz@xyz.com
Field Hidden: Reference: Request for xyz
Field Date: (calculate current date)
This should result in an email sent to
xyz@xyzPLEASENOSPAM.com from
formmanager@xyzPLEASENOSPAM.com like:
Subject: Request for xyz
Name: myname
Lastname: mylastname
Location: mylocation
Emailadress: myadress@abc.com
Date: 2005-02-07
I know i can do this when using some external cgi handler that processes formdata. But i thought this should be possible with a twiki plugin, or even with twiki built in features.
--
WolfgangAlper - 07 Feb 2005
OK, I understand now. I recently needed this ability and could not figure out a way to do it purely within wiki. I finally settled for using an external form-handler script. See
CreatingFormProcessingPlugin.
--
LynnwoodBrown - 07 Feb 2005
Thank you Lynnwood. I walked through the topic(s) and think that i will also use an external handler.
--
WolfgangAlper - 08 Feb 2005