Recordset emails not arriving
I have a contact form with a text box for email addresses.
The box is dynamically connect to a database
The recordset shows correct records on test but
The records do not show in the box and the recordset emails do not arrive.
If I place an email address in the box this arrives correctly.
I wonder if this code shows the problem
Thanks for any help
John
<?php
if (ValidatedField('email','email')) {
if ((strpos((",".ValidatedField("email","email").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="Full_Name_ServerError">Please enter your name</span>
<?php //WAFV_Conditional email.php email(1:)
}
}
}?>
</div>
</div>
</div>
</div>
</div>
<div class="lineGroup">
<div class="fullColumnGroup">
<label for="Email_Address" class="sublabel" > Email<span class="requiredIndicator"> *</span></label>
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup"> <span id="Email_Address_Spry">
<input id="Email_Address" name="Email_Address" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("email","Email_Address"):"")); ?>" class="formTextfield_Large" tabindex="2" onblur="hideServerError('Email_Address_ServerError');"/>
<span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldRequiredMsg">Please enter a full email address</span> </span>
<?php
if (ValidatedField('email','email')) {
if ((strpos((",".ValidatedField("email","email").","), "," . "2" . ",") !== false || "2" == "")) {
if (!(false)) {
?>
<span class="serverInvalidState" id="Email_Address_ServerError">Please enter a full email address</span>
<?php //WAFV_Conditional email.php email(2:)
}
}
}?>
</div>
</div>
</div>
</div>
</div>