[support] Prepopulate contact form on node submit

Steve Kessler skessler at denverdataman.com
Sat Feb 23 19:25:18 UTC 2013


Sorry I missed that.  To pre-populate the contact form you need to write a
form alter hook.
http://api.drupal.org/api/drupal/modules!system!system.api.php/function/hook_form_alter/7



On Sat, Feb 23, 2013 at 12:13 PM, Shai Gluskin <shai at content2zero.com>wrote:

> Thanks,
>
> Ok, Rules looks good, but How do you do the prepopulate part of the
> contact form?
>
> Shai
>
> On Feb 23, 2013, at 1:54 PM, Steve Kessler <skessler at denverdataman.com>
> wrote:
>
> You can also do this with the rules module.
> On Feb 23, 2013 11:50 AM, "Anand" <ananditcrs at gmail.com> wrote:
>
>> you need to alter the form and then while node submit as well need to set
>> the url whatever you want to do.
>>
>> On Sat, Feb 23, 2013 at 9:22 PM, Shai Gluskin <shai at content2zero.com>wrote:
>>
>>> Hi folks,
>>>
>>> I need to redirect to /contact on submit for a particular content-type.
>>> I need the form populated with the node title and absolute URL from the
>>> node just created.
>>>
>>> Can anyone help me get started on how to approach this?
>>>
>>> Thanks in advance,
>>>
>>> Shai Gluskin
>>> --
>>> [ Drupal support list | http://lists.drupal.org/ ]
>>>
>>
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
Steve Kessler
Owner and Lead Consultant
Denver DataMan, LLC
303-587-4428
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20130223/40b66030/attachment-0001.html 


More information about the support mailing list