title: Drupal WebForm With PinPointe--Avoid Confirmation Page
body: <p>Our company uses PinPointe for email marketing and we have a Drupal 6 site with several language domains. I have created a web form except I did not create any fields in Drupal. Instead in the node Edit <strong>NOT THE NODE WEBFORM EDIT</strong>....in the node edit for the body section I added the HTML and the javascript for form. Everything works well and the data is captured to pinpointe. The problem lies in the fact that the page..upon clicking submit..actually redirects to PinPointe where I get a friendly message saying. Thanks for joining. Well I don't want this. I would like to just pop an alert saying thanks and leave the user on the page they were on. I tried this code for using jquery to do the post but it isn't loading and I suspect that's because I need it in the header not the body.</p>
  
  <p>So all I want is to submit the data to pinpointe and not redirect the user. So here is where my limited Drupal knowledge runs out:</p>
  
  <ol>
  <li><p>If I create the input fields in the node webform then how do I get the form to post to pinpointe?</p></li>
  <li><p>If I create the fields dynamically in the node body (not node>>webform) I can direct the submission to PinPointe but then how do I stop the redirect?</p></li>
  </ol>
  
  <p>FWIW here is the jquery I was trying to use but suspect has to go in the header <a href="http://jsfiddle.net/4xDFK/4/" rel="nofollow">http://jsfiddle.net/4xDFK/4/</a></p>
  
  <p>FWIW here is the code for the dynamic creation:</p>
  
  <pre><code>&lt;form action="http://na04.mypinpointe.com/...." id="webform-client-form-1375" method="post" onsubmit="return CheckForm257(this);"&gt;
      &lt;div&gt;
          &lt;div id="webform-component-UsrEmail"&gt;
              &lt;div id="edit-submitted-UsrEmail-wrapper"&gt;
                  &lt;input id="edit-submitted-UsrEmail" name="email" size="30" type="email" /&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="form-actions form-wrapper" id="edit-actions"&gt;
              &lt;input class="form-submit" id="edit-submit" name="op" type="submit" value=" " /&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>