Wordpress - Forms Dilemma - Post ID...

User 218268 Photo


Ambassador
5 posts

You can see my issue at: http://oregonapconena.org/committees/aw … ward-form/

I have the form files loaded up in the root directory. The script in the form I created appears as:

<script type="text/javascript">document.write(unescape("%3Ciframe id=\"fb_iframe\" src=\"apco-award-form.php" + window.location.search + "\" width=\"600\" height=\"1980\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E&lt;a href=\"apco-award-form.php\" title=\"apco-award-form\"&gt;Check out my CoffeeCup Form&lt;/a&gt;%3C/iframe%3E"));</script>
<noscript>
<iframe width="600" height="1980" style="border:none; background:transparent; overflow:hidden;"
id="fb_iframe" src="apco-award-form/apco-award-form.html">
&lt;a href="apco-award-form.php" title="apco-award-form"&gt;Check out
my CoffeeCup Form&lt;/a&gt;
</iframe>
</noscript>

I get an iframe that doesn't have the form, but a "That page cannot be found" message. It appears that the code is pointing to the right place, folder and html file are there, but it doesn't seem to want to display the html.

Solutions?

Thanks,

Ryan
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Try removing the script that the form builder places around the iframe code.
<iframe width="600" height="1980" style="border:none; background:transparent; overflow:hidden;"
id="fb_iframe" src="apco-award-form/apco-award-form.html"></iframe>

Also try using absolute links to get your src correct. You can always change them to relative after testing.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 218268 Photo


Ambassador
5 posts

Neither seemed to work. Removing the script just gave me a big blank area, and changing to an absolute link made no difference.

If I create a new folder via ftp in my public_html, and then drop an html file into that folder, if I try typing the absolute path to that html file, I still get the WordPress site stating the page is not found. So, it doesn't seem to let me view any html file, even if they are it's own folder outside of the WP install. Not sure what the deal is there.
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

I see your form.;) Do a ctrl + f5
Never mind it must be an old one.:)
Can you add the script to another page and publish it?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.