Contact Form not showing up #2 - Post...

User 1944431 Photo


Registered User
42 posts

Hi - I am doing well setting up my shop, but can not figure out how to add a contact form that I have created using form builder to the 'contact' page of my shopping cart.

I created the form with form builder, saved it, copied the code. I then started my shopping cart and pasted the code (using html setting) to my contact us page. I uploaded it to my public_html/shop folder.

The form didn't come up when I used my browser. Could be I don't have the right folder.

I know this can be done, because I have seen a site that has done it:
http://www.hostatrader.com/contact-us.html

Any guidance will be much appreciated.
Thanks,
Pete
User 348263 Photo


Registered User
19 posts

Not sure what your problem is. When I click on the link it shows up.
User 1944431 Photo


Registered User
42 posts

The link is showing someone else's sight that has a form in their shop contact us page. This is what I am TRYING to do...
Pete
User 52204 Photo


Registered User
32 posts

Hi Peter

You need to put swobject.js, form.php, form.xml and form.swf in the root directory of your shop. Where Form is the name of your saved form,

John W
User 1944431 Photo


Registered User
42 posts

John - Thanks for reply.

I found the form.php, form.xml and form.swf files in my public_html/shop directory, but I can not find swobject.js anywhere.

Pete
User 52204 Photo


Registered User
32 posts

Hi Pete

oswobject.js together with form.xml, form,swf and form.php plus any associated images should have been saved in a folder on your PC when you outputted the form from CoffeeCup's Form Builder and pasted the form builder's HTML output on to a contact page in the Shopping Cart Creator - something similar to the following

<div align="center">
<p id="legend">Please use the following form for enquiries </p>
<script type="text/javascript" src="swfobject.js"></script><div id="CC160803">Form Object</div><script type="text/javascript">var so = new SWFObject("brushedmetal.swf", "brushedmetal.xml", "539", "580", "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=brushedmetal.xml&w=539&h=580");so.write("CC160803");</script>
</div>

e.g. see http://www.devonpetals.com/shopoption/Contact_Us.php

John W

User 1944431 Photo


Registered User
42 posts

John- Can't find a file, swfobject.js anywhere in my shop directory. Here are the files I see in public_html/shop directory:
ftp://oakhillh@host383.hostmonster.com/public_html/shop/authnetrelay.php
ftp://oakhillh@host383.hostmonster.com/public_html/shop/cart.php
ftp://oakhillh@host383.hostmonster.com/public_html/shop/category.php
ftp://oakhillh@host383.hostmonster.com/public_html/shop/checkoutgc.php
ftp://oakhillh@host383.hostmonster.com/public_html/shop/checkoutpps.php
ftp://oakhillh@host383.hostmonster.com/public_html/shop/Contact_Us.php
ftp://oakhillh@host383.hostmonster.com/public_html/shop/contact_us_1.html
ftp://oakhillh@host383.hostmonster.com/public_html/shop/contact_us_1.php
ftp://oakhillh@host383.hostmonster.com/public_html/shop/contact_us_1.swf
ftp://oakhillh@host383.hostmonster.com/public_html/shop/contact_us_1.xml
ftp://oakhillh@host383.hostmonster.com/public_html/shop/controller.php
ftp://oakhillh@host383.hostmonster.com/public_html/shop/index.php
ftp://oakhillh@host383.hostmonster.com/public_html/shop/kontact.jpg
ftp://oakhillh@host383.hostmonster.com/public_html/shop/sync.xml
ftp://oakhillh@host383.hostmonster.com/public_html/shop/viewcategory.php
ftp://oakhillh@host383.hostmonster.com/public_html/shop/viewitem.php


Attached is a word doc showing what the output file from my form builder was and what I pasted as html into my shop contact page. Don't see any swfobject.js file in there either.

Maybe my settings are wrong in the form builder program..

Pete




Attachments:
User 52204 Photo


Registered User
32 posts

Hi Peter

Your output file indicates you are using an older version of the form builder, hence no swobject.js.

However as long as you pasted the output info into the public_html/shop/Contact_Us.php file, I would have expected the form to still work.

I am using version 8 build 205 of the form builder.

John W
User 1944431 Photo


Registered User
42 posts

Hummmmmmmmm- I also am using registered copy of version 8 build 205.

Back to square 1.:P

User 52204 Photo


Registered User
32 posts

Hi Peter

Just one error in my previous message, the output script should be pasted into your contact_us page in the Shopping Cart creator and not the public_html/shop/Contact_Us.php file. A senior moment on my part.

Strange you cannot seeing swobject.js

I suggest you raise a support ticket with CoffeeCup support, just one last thought however - look at CoffeeCup Form Builder program files on your PC you should see a copy of swobject.js in the Form Builder's folder. If it missing, your installation of the form builder may not be complete.

John W

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.