add form script on amp page

User 2926909 Photo


Bootstrap Builder Beta
3 posts

I already greet you and I wanted to ask you how to put scripts of the form on a page I have tried but I can not validate it and see it. Also try amp-iframe and you can't see it, but by leaving it alone with the iframe code, yes.

the code is this


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


Senior Advisor
18,798 posts

Hi Rolo,
Are you referring to Web Form Builder or Form Designer? I'm assuming Builder since the iframe script is what would be provided by the app.
Try reducing the iframe code to this.
<iframe height="756" style="border:none; background:transparent; overflow:hidden; width:100%;"
id="fb_iframe" src="form/form.html"></iframe>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
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 2926909 Photo


Bootstrap Builder Beta
3 posts

thanks Eric for the answer, if it's from Web Form Builder and the code that I finally managed to do is very similar to the one you sent

<amp-iframe height="756" style="border:none; background:transparent; overflow:hidden; width:100%;" src="form/form.html">
</amp-iframe>

with this code I put <amp-iframe since I need it for an amp page, although it looks like it has a problem the error mark captcha, I send the image of the error but when I only put <iframe it only looks good everything even the captcha placed again <amp-iframe the error is seen again, now how do I correct that captcha error? I would appreciate the help I hope you understand.
Attachments:
User 187934 Photo


Senior Advisor
18,798 posts

Sorry I left the closing tag off.
Can you share a link to the form?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
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 2926909 Photo


Bootstrap Builder Beta
3 posts

I send the form with which I am testing

https://www.riegoautomatico.com.ar/1/
User 187934 Photo


Senior Advisor
18,798 posts

It seems fine here as far as the captcha goes.
https://www.riegoautomatico.com.ar/1/form/form.html
The amp js is still loading insecure content. Maybe change it to loading at the footer or ask in the amp forum.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
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.