This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
iframe too large on WordPress page
Started 16 years ago by anneraker | 7 posts |
-
I am trying to embed my form to a page on my wordpress blog, and there is an excessive amount of whitespace left on the bottom of the iframe. And, when you move to the review page, it opens scrolled down to where the submit button was on the form page, so you have to scroll up to see the review page info. And, when you hit submit, it refreshes at that same spot again, so you have to scroll up by a lot to get to the Success message.
I tried using the code posted here for the auto-adjusting frame, but I don't have a way to access the head or body fields, just the actual page content field in the blog page. Is there another way to fix this? It looks terrible. :(
Here's a link to the form if that helps: http://velvetblueportraits.com/?page_id=220Thanks!
Posted 16 years ago # -
Hi,
Have you tried using the Advanced Embed Code instead of the iframe one?
MachForm Founder
Posted 16 years ago # -
I looked at the advanced code, but I don't know where I'd be pasting it for a wordpress page. I tried putting it in the content box where I put the iFrame code (the WYSIWYG box), but that didn't work. Would I need to find the actual page on my server, download that page's .php file, make the changes, and then re-upload it? I'm leery of messing with my .php file because I am using a fairly involved theme that I didn't create myself, and I'm don't want to mess it up. Is there another, easier way of trying the advanced code to see if it will work?
Posted 16 years ago # -
You can use Exec-PHP http://wordpress.org/extend/plugins/exec-php/ -- a wordpress plugin which allows you to execute PHP code iniside a post. So you won't need to modify any PHP code, just paste the code like what you did with the iframe code.
However, before doing so, I suggest to use the iframe and autoexpanding iframe script here:
http://www.appnitro.com/forums/topic/auto-expandadjustable-iframe?replies=12Just put all those code within your post, no need to put into the header.
MachForm Founder
Posted 16 years ago # -
I tried the autoexpanding script, and all it did was add a larger space on top of the form, in addition to the large space on the bottom. I also tried the advanced code, using the Exec-PHP plug-in, and got a messy error message. :( I must be doing something wrong, but I don't know what. Any ideas of what it could be?
Posted 16 years ago # -
Hmm.. that's odd. Try to put your autoexpanding script and let me know. I'll check it.
If you want private assistance, please mail me: customer.service [at] appnitro.com
or submit request here: http://www.appnitro.com/support/index.php?pg=requestMachForm Founder
Posted 16 years ago # -
I had problems posting into the Exec-PHP plugin as well and couldn't get it to work. I had to use the iFrame option and that was it.
Posted 16 years ago #
Reply
You must log in to post.