Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Nathan77777 #1
Multiple Spry Textfield Form Errors
I've been trying to figure out how to add multiple different types of errors to
only ONE text field. I read in the LiveDoc all you have to do is insert a new
span with the corresponding class identifier but it didn't give an example of
how my widget would look like. I want this:
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1",
"none", {validateOn:["blur", "change"]});
combined with a min and max characters value AND a character counter. Is this
possible?
Here's the included SPRY Script at the bottom of the page:
<script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1",
"none", {validateOn:["blur", "change"]});
var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1",
{validateOn:["blur", "change"]});
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
//-->
</script>
Nathan77777 Guest
-
textfield with htmltext does not display multiple spacesentered by the user
Hi, when using a uitextfield that has some htmltext, the spaces entered by a user at the end of the textfield are not displayed and do not affect... -
Multiple Spry Menu Bars
Can I have more than one horizontal menu bar on a given page? -
Select text from multiple TextField objects
Does anyone know if it is possible to select text across multiple Label, Text, TextField and/or TextArea objects? I have several fixed position... -
CF INPUT textfield is automatically selected whenusing CF FORM
sorry for repeating this post, I continually got an error from the forum, so I thought it wasn't posting -
textfield is automatically selected in form
Hi, I am working on a coldfusion form for a client of mine, and what is happening is the first textfield (cfinput) in the form is automatically...



Reply With Quote

