close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues



Thread began 3/28/2014 11:18 am by Mushroom-Graphics | Last modified 4/02/2014 10:03 am by Jason Byrnes | 519 views | 3 replies |



I have a form that will email the info. I have a Captcha field. It never resolves. It always says I need to "Please Enter a Value" Any Idea why?


Sign in to reply to this post

Jason ByrnesWebAssist

you are using the wrong session variable in the Like Entry validation.
the following code creates the captcha image:
<img src="webassist/captcha/wavt_captchasecurityimages.php?field=Contact_Us_group_3_field&amp;font=fonts/MOM_T___.TTF" alt="Security Code" class="Captcha">

the image source goes to the wavt_captchasecurityimages.php file and sends a number of URL variables, the file is the field variable:


this variable is used to set the name of the captcha session variable as:
captcha_<field value>

so in this case the session name is:

in the like entry validation, you are using a session named captcha_Contact_Us_group_3_field_2 instead:

$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Contact_Us_group_3_field_2"])?$_POST["Contact_Us_group_3_field_2"]:"")) . "",((isset($_SESSION["captcha_Contact_Us_group_3_field_2"]))?strtolower($_SESSION["captcha_Contact_Us_group_3_field_2"]):"") . "",true,6);

change that code to use the captcha_Contact_Us_group_3_field session:
$WAFV_Errors .= WAValidateLE((strtolower(isset($_POST["Contact_Us_group_3_field_2"])?$_POST["Contact_Us_group_3_field_2"]:"")) . "",((isset($_SESSION["captcha_Contact_Us_group_3_field"]))?strtolower($_SESSION["captcha_Contact_Us_group_3_field"]):"") . "",true,6);

Sign in to reply to this post


How do I post the form to a particular page if captcha is entered correctly?

Sign in to reply to this post

Jason ByrnesWebAssist

all form processing is done on the forms action page.

you would not post to another page is captcha is entered correctly, you would add whatever scripts to process the form on the action page.

the form posts to the action page, it processes the validation than whatever action should happen if validation passes, such as send an email or insert to a database.

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





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