Insert code snippet - Post ID 209676

User 271657 Photo


Ambassador
3,816 posts

I've been able to get forms in my webpages by either publishing to SDrive and putting a link in an Iframe or by using the export option. What I can't figure out is how to use this option:
When you publish, the Form Successfully Published window will appear with a section that contains a script you'll need to use. Look for it under the heading "Add Your Form to a Website":


I've tried inserting the script in both VSD and the HTML Editor (after publishing to SDive), but nothing shows up. Is there some other bit of code that this has to go into? Does it need to go into an Iframe?
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 271657 Photo


Ambassador
3,816 posts

From the support articles:
First, click the Copy to Clipboard button (as seen in the image above). Then open your favorite tool for editing your website. This can be the HTML Editor, Visual Site Designer, Shopping Cart Creator, but also any other tool or service of your choice. Now go to the page you want to put your form into and simply paste wherever you want your form to appear.


What appears is... nothing at all :(
Any ideas how to get this to work? In the Editor, I've tried putting it between <div></div>, also tried putting it in with no <div> tags. Tried making an id for it, which gave me a blank area the size of the form.

What the heck am I missing here?

I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 103173 Photo


VP of Software Development
0 posts

If you are publishing to S-Drive, all you have to do is paste in the <script></script> into VSD using the HTML Tool. Then size and position the HTML box and the form will appear when you publish. Most browsers block the <scripts> locally, so make sure you are testing online.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 271657 Photo


Ambassador
3,816 posts

What about in the HTML Editor? Does it need to have a div around it?
Most browsers block the <scripts> locally, so make sure you are testing online.

Thanks for the info, I'll try it again after it's online. :D
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 103173 Photo


VP of Software Development
0 posts

paintbrush wrote:
What about in the HTML Editor? Does it need to have a div around it?
Most browsers block the <scripts> locally, so make sure you are testing online.

Thanks for the info, I'll try it again after it's online. :D

Only if you want to style it. Form Builder only provides you with <script></script> as well as an <iframe></iframe>. You can the customize that to fit any of your needs.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 271657 Photo


Ambassador
3,816 posts

Good, I didn't want to have to do anything else to it. :)
Thanks!
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 464893 Photo


Ambassador
1,611 posts

You have my address. By your command.
The Guy from OZ



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.