Hey all,<div><br><div>I have two forms that I need to combine on a Drupal 6 website and I&#39;ve researched this as much as possible to no luck. The problem, for me, lies in the fact that one of the forms is a regular node add form and the other isn&#39;t created by the Form API (but through LM Paypal). Yet, I need a single submit button so the node saves and the user is redirected to Paypal with the specific IPN information for the site.<br>

<br>The code to generate the LM Paypal form is :<br><br><div>&lt;?php</div><div>if (function_exists(&#39;lm_paypal_can_subscribe&#39;)) {</div><div>  $subid = 1;</div><div>  $theme = drupal_get_path(&#39;theme&#39;, &#39;mytheme&#39;);</div>

<div>  $button_url = $theme . &#39;/images/pay_button.png&#39;;</div><div>  if (lm_paypal_can_subscribe ($subid)) {</div><div>    print lm_paypal_subscribe($subid,8,$button_url);</div><div>  } //endif lm_paypal</div><div>

} //endif fn exists </div><div>?&gt;</div><br></div><div>Printing this in my modified node form&#39;s validation or submission functions doesn&#39;t work... Because of the way this form is created in the LM Paypal module I don&#39;t have a clue how to modify it to fit in with the proper Form API methods used to submit two forms with one button. I&#39;ve also tried using the dev version of Subform Element for Drupal 6.</div>

<div><br></div><div>Any thoughts on what I might do to fix this?</div><div>Many thanks!</div><div><br></div><div>Jake Roufa<br><a href="tel:208.557.9390" value="+12085579390" target="_blank">208.557.9390</a><br><div><a href="http://about.me/jacobroufa" target="_blank">about.me/jacobroufa</a></div>

<br>
</div></div>