paypal <form> help

Hi all,

I have this form in my view:


<form action= "https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/pay" target="PPDGFrame">

<input id="type" type="hidden" name="expType" value="light">

<input id="paykey" type="hidden" name="paykey" value="<?php echo $paykey ?>"> 

<input type="submit" id="submitBtn" value="Pay with PayPal"> </form> 

The thing is, it renders the page twice! Do I have to use CHtml::beginForm for this kind of form? I noticed that CHtml does not have a target method. How would you implement this?

Thanks!