close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

CAPTCHA field causing Insert Record to not occur

Thread began 2/01/2011 8:31 pm by holt3937911 | Last modified 2/03/2011 7:00 am by holt3937911 | 1368 views | 3 replies

holt3937911

Noticed Different Form Field Definitions

First...THANKS!

OKay......I recreated the entire page from scratch.....as I didn't see a session variable. Once I had the new page posted....it all works as expected.

On more than one occasion....I noticed that the form field definitions are created differently (e.g. us of ValidatedField("NewTestPage","Full_Name"):"")) ..but I have never been able to figure out what I've done differently. Below is an example of a form field that is working with CAPTCHA and Server Validation. This form was created initially with CAPTCHA field in the form.

<div class="fullColumnGroup">
<label for="Full_Name" class="sublabel" > Name<span class="requiredIndicator">&nbsp;*</span></label>
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup"> <span id="Full_Name_Spry">
<input id="Full_Name" name="Full_Name" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("NewTestPage","Full_Name"):"")); ?>" class="formTextfield_Large" tabindex="1" onblur="hideServerError('Full_Name_ServerError');"/>
<span class="textfieldRequiredMsg">Please enter your name</span> </span>
<?php
if (ValidatedField('NewTestPage','NewTestPage')) {
if ((strpos((",".ValidatedField("NewTestPage","NewTestPage").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="Full_Name_ServerError">Please enter your name</span>
<?php //WAFV_Conditional NewTestPage.php NewTestPage(1:)
}
}
}?>
</div>
</div>
</div>


This is an example of form field when the page wasn't working where I created the form...saved it..then added the CAPTCHA field......any idea what I may be doing to cause the code below to be generated....other than what I just stated. I've spent entire day trying to figure this out....thinking it has something to do with my validation and record insert not working.

<div class="fullColumnGroup">
<label for="Full_Name" class="sublabel" > Name<span class="requiredIndicator">&nbsp;*</span></label>
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup"> <span id="Full_Name_Spry">
<input id="Full_Name" name="Full_Name" type="text" value="" class="formTextfield_Large" tabindex="1" />
<span class="textfieldRequiredMsg">Please enter your name</span> </span> </div>
</div>
</div>
</div>

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