Automate hyperlink to send variables to webform Here's the background for what I'm tring to accomplish:


I am using Webform 6.x-3.11 and have a generic sign-up form located at “/project-sign-up."
The webform has a hidden field with its default value set to "%get[project-title]."
I have a custom Content-type called Project that holds data specific to various community outreach projects.


What I am trying to do is displaying a link at the bottom of each "Project" page saying "SIGN UP!" with the "href" pointing to "/project-sign-up?project=[project-title]." However, I cannot figure out how to create the link through the CCK fields of the content type. I have also tried creating a node attachment through Views UI (views_attach) to append a link (with its output rewritten) to the "Project" node, but to no avail.

Could anyone point me in the right direction?
If you are doing it in Drupal 6 then hook_nodeapi(&amp;$node, $op, $a3, $a4) is to alter node object for additional information.

function custom_module_nodeapi(&amp;$node, $op, $a3, $a4){
  if ($op == 'view' &amp;&amp; $node-&gt;type == 'project') {
    $node-&gt;content['project_link'] = array(
      '#value' =&gt; l('Sign Up', 'node/[id]', array('query' =&gt; "project=" . $node-&gt;title)),
      '#weight' =&gt; 100,
    );      
  }
}