CC web form builder - Page 1 - Post...

User 1795311 Photo


Registered User
35 posts

Possible to use the CC web form builder in SCCP on a new page?

Any instructions would be good as well if it is possible.
User 38401 Photo


Senior Advisor
10,951 posts

Hiya Morga,

Yes you can use the Form Builder forms on the SCC programs shops. You do this the same as you do any other form you add to a site. Create the form, save it, then upload it to the root directory of your shop. Place the code in the page using the HTML Tool and it's all set other than adjusting your HTML Tool code to make it position how you want it. Good luck with it :)
User 412479 Photo


Registered User
45 posts

I made a form for a client selling a bracelet where customers can choose up to 20 stones to add.
I have uploaded the files as stated above and also tried them in different places. No matter what folder I put the web form files in "Form Object" text is all that shows up where I placed the code in CCSCPro.

Any help would be most appreciated and my thanks in advance. My folder structure is *websitename*/dbd/products/ccdata/ and so on. I tried the files in these folders: root *websitename*, dbd, products, ccdata, and store. The form didn't show with files in any of the 5 locations. I wish I could point you to a link, but I had to unclick the box for publishing and reupload so people wouldn't try to purchase the bracelet without the form. I could publish to a test folder I guess if you need to physically see the page.

My coding on the details tab of product page in CCSCPro after clicking the html and inserting is:
[[[<script type="text/javascript" src="swfobject.js"></script><div id="CC4642367">Form Object</div><script type="text/javascript">var so = new SWFObject("stonebracelet.swf", "stonebracelet.xml", "600", "860", "7,0,0,0", "#ffffff");so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");so.addParam("quality", "high");so.addParam("scale", "noscale");so.addParam("salign", "lt");so.addParam("FlashVars", "xmlfile=stonebracelet.xml&w=600&h=860");so.write("CC4642367");</script> ]]]

On the site's html contact us page I used form builder and it works perfectly so I know it works but I am probably just not getting the files uploaded to the correct place in the products area.
User 364143 Photo


Guest
5,410 posts

Put all the files in the same directory as the store and add this code to the existing code.

Object tag
<param name="base" value="/" />

Embed tag
base="/"

Change / if store is not in the root directory.
CoffeeCup... Yeah, they are the best!
User 412479 Photo


Registered User
45 posts

Thanks so much Tomalicious :-)

I'm not getting the coding right however (it's trying to work, I'm just messing something up!)

Could you tell me - I believe I'm messing up on the embed tag :-)
[[[<script type="text/javascript" src="swfobject.js"></script><div id="CC7222512">Form Object</div><script type="text/javascript">var so = new SWFObject("stonebracelet.swf", "stonebracelet.xml", "600", "860", "7,0,0,0", "#ffffff");so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");so.addParam("quality", "high");so.addParam("scale", "noscale");so.addParam("salign", "lt");so.addParam("FlashVars", "xmlfile=stonebracelet.xml&w=600&h=860");so.write("CC7222512");</script> <object width="600" height="860"><param name="base" value="/dbd"><object />
<embed src="stonebracelet.swf" base="/dbd" />]]]
User 364143 Photo


Guest
5,410 posts

That code is all all jacked up. Why don't you grab the original code supplied by Form Builder and paste it in here and I'll add it for you. We don't want to miss anything that's needed for all browsers. :)
CoffeeCup... Yeah, they are the best!
User 412479 Photo


Registered User
45 posts

Thank you very much :o) I got to thinking I might need absolute instead of relative path but apparently it's worse than that LOL I appreciate you greatly!

<script type="text/javascript" src="swfobject.js"></script><div id="CC7222512">Form Object</div><script type="text/javascript">var so = new SWFObject("stonebracelet.swf", "stonebracelet.xml", "600", "860", "7,0,0,0", "#ffffff");so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");so.addParam("quality", "high");so.addParam("scale", "noscale");so.addParam("salign", "lt");so.addParam("FlashVars", "xmlfile=stonebracelet.xml&w=600&h=860");so.write("CC7222512");</script>
User 364143 Photo


Guest
5,410 posts

<script type="text/javascript">
var so = new SWFObject("stonebracelet.swf", "stonebracelet.xml", "600", "860", "7,0,0,0", "#ffffff");
so.addParam("classid", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000");
so.addParam("quality", "high");
so.addParam("scale", "noscale");
so.addParam("salign", "lt");
so.addParam("FlashVars", "xmlfile=stonebracelet.xml&w=600&h=860");
so.addParam("base", "/");
so.write("CC7222512");
</script>
CoffeeCup... Yeah, they are the best!
User 412479 Photo


Registered User
45 posts

I much appreciate your time; however, it didn't work.

I am attaching in .rar file:
Image1 (site page showing where coding is)
Image 2 (the form that should appear)
Image 3 (the coding form builder is saying to put - what I have pasted in this thread)
Image 4 (folder structure)
User 412479 Photo


Registered User
45 posts

Oops, looks like file didn't attach. Photos attached.

Attachments:

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.