Spry Textfield Error Message Wrongly Displaying
I'm working on making some changes to an admin site for a client. The previous programmer used Spry Textfield validation, but I'm having to change the validation to work with a text field. Unfortunately, the error for "A value is required" is showing up no matter what I do. The text field is populated by a database initially, and the user has the ability to change the field. The page is working fine, it displays the field from the database, and updates the database as it should. However, the error stating that a value is required never disappears.
I have read the documentation on Spry validation and am unable to figure out why the error won't go away.
Here's the code related to the text field:
Thanks for anyone who can help!
<link href="../Assets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<input type="text" name="password" id="password" value="<?php echo $password;?>" />
<span class="textfieldRequiredMsg">A value is required.</span></span>
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none");
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread