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

Form validation

Thread began 1/28/2015 4:06 am by Cheyanne | Last modified 2/08/2015 6:04 am by Cheyanne | 872 views | 6 replies |

Cheyanne

Form validation

My client is currently experiencing emails being exploited when sent to them as a result of the completion of their
contact form. Although the form has certain "required" fields these are being by-passed and
spurious comments are being entered into the notes field. I was advised to put a checkbox field
on the form as they" Cannot be completed by a bot". When I use the form the verification works and
if you do not check this box you are advised accordingly.

I attach an image of a typical form submission from these individuals and am anxious to find a solution
that prevents such abuse.

Any ideas would be appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

Are you using server validation on the form?

it is easy to pass client side validation. you should have server validation in place.

Also double check that the Server Validation server behavior and the Universal Email server behavior are using the same trigger. If they use different tigers it may be possible to by pass server validation but still trigger universal email. using the same trigger for both will mean that if one is bypassed, both are bypassed.

Sign in to reply to this post

Cheyanne

Hi Jason

No I was simply using client side validation as I am unfamiliar with server side validation. I wan't to stop people entering URLs into a textarea box
and saw a suggestion that making it alphanumeric would solve this problem. I selected the textarea field and selected alphanumeric as the validation type but do not know what to enter in the server variable or the drop down "+" menu. Can you advise what I need to enter? Also is there an explanation on your web site as to what the different server variables mean and how and when to use them? I have attached a screenshot to show you where I am stuck. Your assistance would be much appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

Click the lightning bolt icon to open the bindings page, from the bindings collection, expand the form and select the corresponding form element.

the variable types of server variables are:

FORM
URL
SESSION
SERVER

when using form validation, you will be using the form variables most of the time.

URL variables would be mostly used for redirects and session variables are mostly used for security.

Sign in to reply to this post

Cheyanne

Server side validation

Originally Said By: Jason Byrnes
  Click the lightning bolt icon to open the bindings page, from the bindings collection, expand the form and select the corresponding form element.

the variable types of server variables are:

FORM
URL
SESSION
SERVER

when using form validation, you will be using the form variables most of the time.

URL variables would be mostly used for redirects and session variables are mostly used for security.  
Sign in to reply to this post

Jason ByrnesWebAssist

From your screen shot it looks like contact is the name of your form.

Expand the contact section, the select the form element you wish to validate.

Sign in to reply to this post

Cheyanne

Server side validation

Originally Said By: Jason Byrnes
  From your screen shot it looks like contact is the name of your form.

Expand the contact section, the select the form element you wish to validate.  
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...