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"> *</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"> *</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>