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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Security not working

Thread began 4/28/2015 9:24 am by codamedia | Last modified 4/28/2015 3:06 pm by Ray Borduin | 350 views | 1 replies |

codamedia

Security not working

I have the latest Data Bridge installed... using DW CS4. I am trying to create a CSS form for the first time to see how it works. It's a basic contact form that sends an email via the default email script.

The problem is that Captcha, and the other security question are not working. They show up fine and look like they should work, but it doesn't matter what I enter in the fields (deliberately wrong answers) the email still sends and the page directs to the confirmation page. This occurs on both my local server, and my remote server.

I was assuming the CSS forms did all the scripting automatically... but I notice in the Server Behavior tab in Dreamweaver Universal Email is the only item to appear... there is no validation behaviors which is something I would expect to see. Am I missing a step somewhere such as the validation to check captcha?

EDIT TO ADD: Just for the record, the client side validation (jquery) is working fine.

Sign in to reply to this post

codamedia

SOLVED!

I managed to figure out the problem... although I'm not sure why it would have such a negative effect on the scripts being created.

The problem is in the "Specify the action page" during the form setup. The default is "PHP_SELF" which will not work for me as almost every one of my sites uses clean URL's using Framework. I usually need to change that to REQUEST_URI so the form will submit to itself.

During form setup... if I change PHP_SELF to REQUEST_URI the validation scripts are not applied. I have to create the form with the default PHP_SELF, then manually change all instances of PHP_SELF to REQUEST_URI and the validation will work fine.

NOTE: when using clean URL's...

PHP_SELF points to "index.php" (or whatever file is used as the host file)
REQUEST_URI points to "/en/contact-us/contact" (or however it is setup on a particular site and server)

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