[development] Custom Webform Module
Michael Favia
michael.favia at gmail.com
Tue Jun 21 14:26:26 UTC 2011
On 06/21/11 05:13, Peter Droogmans wrote:
> Hi,
>
> You can use %get[campaign] as default value for a web component, so the easiest is to add a hidden component to store this, for the redirect you need a custom module with a hook-form-alter, see http://drupal.org/node/952342#comment-4134176
"Webform" is a loaded term in drupal and usually refers to the
contributed module located here:
http://drupal.org/project/webform
If you meant this module then Peters advice is the best way. Otherwise
if you are populating a web form yourself through fapi and storing the
results, etc then you will want to use the $_GET['campaign'] variable
instead which utilized PHPs inbuilt constants. Good luck.
--
Michael Favia michael at favish.com
tel. 512.669.5650 http://www.favish.com
More information about the development
mailing list