DotNetNuke.bz posted on January 28, 2010 18:08
When you want to add a form that submits to another website on your DotNetNuke page, you have a problem, because a DotNetNuke page already has a pretty much all encompassing form.
You could use an iframe to add a form to your DotNetNuke page. This works fairly well.
You could buy a DotNetNuke module, but these usually first submit the form to the server and then the server submits the form. This is not so good, because the form does not come from the user's browser directly.
There are a couple of great articles here on this subject.
He has a couple of conversion tools.
This page converts an Aweber.com form for use on a DotNetNuke page.
www.nerdymusings.com/LPMTool.asp?TOOL=AWeberDNN
This page converts a Paypal button for use on a DotNetNuke page.
www.nerdymusings.com/LPMTool.asp?TOOL=PayPalConvert
While these are interesting solutions, the code excessively complicates the page. Also, everytime you update your form on Aweber you have to use the conversion tool again. Aweber.com is happy to keep all that code on their website. All you have to do is place a little javascript on your website.
For simplicity in maintenance of the code, you can use an IFRAME and then make a javascript call to tell the FORM to break out of the frame. See these articles.
Articles/tabid/156/DotNetNuke/127/How-to-Add-an-Aweber-Form-to-You-DotNetNuke-and-Aspnet-Pages.aspx
/www.programmer.bz/Articles/tabid/159/asp_net_sql/126/Break-Out-of-an-Iframe-in-the-Same-or-New-Window.aspx
By Andrew Weitzen, Bronze Inc.(c) 2010
Bronze is the publisher of several online Internet journals including: InternetHandholding.com, DomainNames.gs, DotNetNuke.bz, Programmer.bz, Software.vg, WebHosting.vg