What do I replace in this code - Post...

User 2278922 Photo


Registered User
4 posts

This is what shows up now, and below it, is what was just generated with the newest form software.

<!-- Start of the body content for CoffeeCup Web Form Builder -->
<script type="text/javascript">document.write(unescape("%3Cscript src='http" + (document.location.protocol == 'https:' ? 's' : '') + "://www.coffeecup.com/api/sdrive/forms/form.js?name=SCM%2520Web%2520Form%26slug=233407%26width=670%26height=1925' type='text/javascript'%3E%3C/script%3E"));</script>
<!-- End of the body content for CoffeeCup Web Form Builder -->

<!-- End of the body content for CoffeeCup Web Form Builder -->
<script type="text/javascript">document.write(unescape("%3Ciframe src=
\"SCM%2520Web%2520Form/SCM%2520Web%2520Form.html\" width=\"669\"
height=\"1482\"allowtransparency=\"true\" scrolling=\"no\" frameborder=
\"0\"%3E&lt;a href=\"SCM%2520Web%2520Form.php\" title=\"SCM%2520Web
%2520Form\"&gt;Check out my CoffeeCup Form&lt;/a&gt;%3C/iframe%3E"));</
script>
<noscript>
<iframe width="669" height="1482" style="border:none;
background:transparent; overflow:hidden;"
src="SCM%20Web%20Form/SCM%20Web%20Form.html">
&lt;a href="SCM%20Web%20Form.php" title="SCM%20Web
%20Form"&gt;Check out
my CoffeeCup Form&lt;/a&gt;


__________________

New Code (or I'm I missing something?

<script type="text/javascript">document.write(unescape("%3Cscript src='http" + (document.location.protocol == 'https:' ? 's' : '') + "://www.coffeecup.com/api/sdrive/forms/form.js?name=SCM%2520Web%2520Form%26slug=233407%26width=640%26height=1929%26crossdomains=true%26rand=" + Math.floor( Math.random() * 1000000000 ) + "' type='text/javascript'%3E%3C/script%3E"));</script>



User 187934 Photo


Senior Advisor
20,271 posts

The top is for a form hosted on your own server and the bottom one is for s-drive hosted forms.
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.