pass argument as a wildcard to node/add/Article/560012 Case : 

I do have a Article-share content type , it does contain a node reference to type "Article" , now this is my scenario :


user selects a node of type Article
he redirects to node/add/Article share
now in this form I want the selected coupon shows up in the form automatically so the user wont need to fill this field again




Some more deails:


I have a content type called "Article-Share".
This type has a reference field to Node type "Article".
I want my content creation form for type "Article Share" to use wildcards to automatically fill "Article Link".


Any suggestions how I can do so?
You will need a module for that but it's easy :

the scenario is this : 
on screen 1 , you've got a form which contains a select list , when user submits this form , will redirects to a content creation form , the important thing is that the coupon id must be passed to it .

so the solution :

you will have a submission function for your first screen form

function first_screen_form_submit($form, &amp;$form_state) {
  //enter some codes here to get nid of selected coupon
  //.
  //.
  $form_state['redirect'] = 'node/add/coupon-share/'. $nid;
  drupal_redirect_form($form_state);//this will redirects you to form and passes the nid
}


now you must alter the node creation form : 

//Implement hook_form_BASE_FORM_ID_alter()     
function YourModuleName_form_node_form_alter(){
  if(isset($form['type']) &amp;&amp; isset($form['#node'])) {
    $type = $form['#node']-&gt;type;
    switch($type) :
        case 'coupon-share':
          $passedNid = arg(3);
          $passedNode = node_load($passedNid);
          //now you have the coupon node available here and can fill your field with it
          //.
          //.
          breake;
  }
}