where to add anchor?
Hi Ray,
Thanks for getting back to me so quickly! I have added an inline anchor beside the field I want the page to scroll back to.
I have then gone into the code
<input name="studentName" type="text"
id="studentName" value="<?php echo(ValidatedField("contact","studentName")) ?>" <?php
if (ValidatedField("contact","contact")) {
if ((strpos((",".ValidatedField("contact","contact").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?> class="fail"
<?php //WAFV_Conditional contact.php#sName contact(1:)
}
}
}?>/>
<?php
if (ValidatedField("contact","contact")) {
if ((strpos((",".ValidatedField("contact","contact").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<div class="red" style="text-align:left;">*Student Name is Required</div>
<?php //WAFV_Conditional contact.php#sName contact(1:)
}
}
}?>
and I have changed the WAFV_Conditional contact.php to contact.php#sName
I tried this in a browser and the #sName was not appended to the URL...
Any ideas?
Thanks again!
Martin