close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Contact form sol pack problems HELP!

Thread began 8/12/2009 11:09 am by info373020 | Last modified 8/18/2009 4:35 pm by Jason Byrnes | 1589 views | 3 replies |

info373020

Contact form sol pack problems HELP!

Hello,

I tried to impliment the Contact form solution pack into my site. I have applied a template to the contact form.....

THe contact form validation fields are not working properly. The contact form extends my template to make all of my graphics in essence 'pulled apart.' The red 'error boxes' extend across the screen from one side to the other, and I think thats what causing the problem. Is there a way to decrease the size of these boxes, or get rid of them completely? Is this server side validation?

I also have universal email and validation toolkit.

I am new to the PHP craziness, and bought this cfsp to do most of the work for me, and am getting frustrated.....

Can someone suggest if I should dstart from scratch designing a form by using dreamweaver and tables, or by CSS, and then implimenting the Universal email and validation toolkit to this form?

I have been messing with the solution pack, and cant get it to work properly. I have a tight deadline on this, so any assistance would be appreciated.


Thanks much

Sign in to reply to this post

Jason ByrnesWebAssist

Rather than apply the template to the contact form page, Create a new page based on the template.

Then copy the form from the contactus.php page and past it into the main content editable region of you template page. To copy the form go to code view, select all of the code between the <body> and </body> tags.

Next, you need to copy all of the server side code from the contact us page. That will be the code from line 1 to the doctype tag but not including the doctype tag:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


past that code into your page at line 1 just before the doctype tag.


the only other code that will need to copy over is the code between the <title> and </head> tags:

html:
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
<style>
.textfieldServerError {
display:block;
margin:0px;
color:#CC3333;
border: 1px solid #CC3333;
}
</style>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />



place that on your page in the same location.

Sign in to reply to this post

vonroth.sandra376398

I did what you suggested here and got issues

Please see my website: contact.php

I did what you suggested but it is not working for me.

Sign in to reply to this post

Jason ByrnesWebAssist

Judging by the error on you page, you did not copy all of the server side code form the original contaus.php page that is in the head before the doctype tag.

open the origianl contactus.php page.

make suree all of the code that is at line 1 up till the doctype tag is copied to your page.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...