Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Third-Party Forms View modes: 
User avatar
Member
Member
amanda.ransburgh-ohioattorneygeneral - 4/20/2009 2:09:21 PM
   
Third-Party Forms
I need to add a third-party email sign up form to the master page. (I will need to add more of forms to other pages in the future.) Kentico support suggested that I use an iframe, but this won't work.

I found the post below that suggested adding some javascript to the submit button to accomplish the task. I can't seem to get it to work, though I might be implementing it wrong. Any ideas?

TeddyG - 1/22/2009 9:54:56 PM

RE:Re: 2 Forms on one Page Template Here's a simpler way i've been using when adding forms for 3rd party email providers like aweber and icontact...

All you need to do is modify the submit button using javascript:

<input type="submit" value="Submit" onclick="theForm.__VIEWSTATE.value='';theForm.encoding='application/x-www-form-urlencoded';theForm.action='https://www.someserver.com/scriptname.php';theForm.submit();" />

Although it would be a lot easier if we could just create basic HTML pages thru the admin and then just load these thru an iframe.