Hi all.
To Tolga
My apologies if I seem presumptious. I was not aware that I could start my own list; I'm just learning how Drupal works.
Thank you very much for your assistance.
Regards,
J
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@gmail.com>
To: development@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@favish.com
tel. 512.669.5650 http://www.favish.com