close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Security using CSS form builder

Thread began 1/19/2010 6:45 pm by Wasntme | Last modified 1/25/2010 7:24 pm by Eric Mittman | 954 views | 5 replies |

Wasntme

Security using CSS form builder

Hi,

I have used CSS FB to build a contact form but i still get spam coming through.

I currently only use the captcha but I notice on the solution package you have used some hidden ones to keep the spam out. Could you please explain a little more on the hidden security so I dont get spam please.

Thank You.

Sign in to reply to this post

Eric Mittman

For securing your forms there is the CAPTCHA, security questions and some empty hidden form elements.

The idea with the hidden form elements is that you leave them blank and validate for them to be blank, if they have a value they should fail validation. The idea is that a bot filling in the form will fill in these hidden form fields as well, so if you confirm that the fields have no value in them it is more likely that a real human filled in the form.

If you put the Universal Email server behavior on the page yourself you should check it to make sure you have it set to same page post as the trigger, this can help with things also.

Sign in to reply to this post

Wasntme

Hidden

Ok, So when I am building the form with formbuild I should place few hidden validation is that correct? if so would i also need to tick the validation required field and what should i place in " RegEx"? Thank you so much for helping..

Originally Said By: Eric Mittman
  For securing your forms there is the CAPTCHA, security questions and some empty hidden form elements.

The idea with the hidden form elements is that you leave them blank and validate for them to be blank, if they have a value they should fail validation. The idea is that a bot filling in the form will fill in these hidden form fields as well, so if you confirm that the fields have no value in them it is more likely that a real human filled in the form.

If you put the Universal Email server behavior on the page yourself you should check it to make sure you have it set to same page post as the trigger, this can help with things also.  
Sign in to reply to this post

Eric Mittman

I was wrong in how I described these fields, they are actually set as type="text" not hidden, but the other details are the same.

Here is an example of what one of these fields looks like in the form:

html:
<input name="addblock" id="addblock" type="text" style="display:none" value="" />



You would then want to add in a regular expression type of validation, check the box for allow blank then use this regex:

/^$/i



In the User Registration Solution Pack there are two of these text fields each with their own validation.

Sign in to reply to this post

Wasntme

Thank you. I will test this and let you know.

Sign in to reply to this post

Eric Mittman

Just FYI for you or anyone else that comes across this, the regular expression used is trying to match on a blank value, in case you were wondering.

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