[development] Custom Webform Module

Jay Campbell poeticjazztice04 at yahoo.co.uk
Fri Jun 24 11:57:22 UTC 2011


Hi all. This is my first Drupal post. My name is Junior (Jay) Campbell and I am the founder of Intelek International. Sounds pretty "highfulooting" right? It really isn't. 

Anyways, I have been building and managing my own website, www.intelek.net for a several years now - since about 1990 - and I struggle! I really do. 

I'm currently struggling with the Facebook (FB) registration form "thingy" (html code?) that I need to integrate my website with FB. I'd appreciate any assistance anyone here can offer. Please be gentle :-). 

Kind regards, 
J 


________________________________
From: Michael Favia <michael.favia at gmail.com>
To: development at drupal.org
Sent: Tuesday, 21 June 2011, 15:26
Subject: Re: [development] Custom Webform Module

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20110624/3cc69656/attachment.html 


More information about the development mailing list