View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Need step by step for Contact Form

Thread began 1/05/2010 11:14 pm by chris-britton396422 | Last modified 1/11/2010 6:19 pm by chris-britton396422 | 6013 views | 31 replies


Beginning to get there!

One of the most frequent reasons that pages don't immediately do what they are supposed to do, is because the paths to the other files they need to help them work are wrong. This can happen if you move a page without updating the links, and most often, because of the way your site is defined in Dreamweaver.

In your sites definition ( Dreamweaver menu > Site > Manage Sites > (select your site) Edit > 'Advanced' tab, under 'local info', make sure that your 'Links relative to' has 'Document' selected, and not 'Site Root'.

This ensures that whichever page you are viewing knows where the other pages are in relation to itself. At the moment it looks like your page is trying to find the files on your Mac hard-drive, because as far as it knows, that's where you have told it they are.

This will ensure that future pages will upload with the correct paths (!) hopefully. You should check this on any future Dreamweaver site you create.

In the mean time, you will need to edit the 'contactus.php' file to correct the faulty paths that have been created. Look for each of the following lines in your page:

<script src="file:///Macintosh HD/Users/chrisbritton/Desktop/eCart/Contact Form Solution Pack/ContactForm_GMC/SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>

<script src="file:///Macintosh HD/Users/chrisbritton/Desktop/eCart/Contact Form Solution Pack/ContactForm_GMC/SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>

<link href="file:///Macintosh HD/Users/chrisbritton/Desktop/eCart/Contact Form Solution Pack/ContactForm_GMC/SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />

<link href="file:///Macintosh HD/Users/chrisbritton/Desktop/eCart/Contact Form Solution Pack/ContactForm_GMC/SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />

<img src="file:///Macintosh HD/Users/chrisbritton/Desktop/eCart/Contact Form Solution Pack/ContactForm_GMC/WA_ValidationToolkit/WAVT_CaptchaSecurityImages.php?noisecolor=000000&bgcolor=ffffff&textcolor=000000&transparent=0&characters=5&width=200&height=40&font=Fonts/MOM_T___.TTF" alt="security code" /><br />

And remove everything after the first "(quote mark) up to and including ContactForm_GMC/ in each line.

So for instance, the first of these would now look like:

<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>

When you've done that, upload the page and see what you get. If all is OK, we should be able to help with the site integration.

It is a simple process (one or two steps) to have the form on a page as you describe. Do you want the page with the form on it to have the flv video on it (to the right of the content)?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...