I have a field like this:
If I insert a char I have a error message because the field has "validate-number" and is shown "Inserisci un valore numerico corretto" and so I can't do the order.
Can I show a different message if the field is less than a number (example: value insert < 2 show "Insert a number bigger than 2")?
How
Thanks so much
monak83
<div class="form_item">
<div class="form_element cf_textbox">
<label class="cf_label" style="width: 440px;">Numero di copie (stesso soggetto)</label>
<input class="cf_inputbox required validate-number" maxlength="150" size="5" title="Inserisci un valore numerico corretto" id="text_1" name="n_copie" type="text" onChange="updatethis(this.form);" />
<a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">Numero di copie (stesso soggetto) :: Inserisci il numero (in cifre) di copie dello stesso sogetto</div>
</div>
<!--<div class="cfclear"> </div>-->
</div>
If I insert a char I have a error message because the field has "validate-number" and is shown "Inserisci un valore numerico corretto" and so I can't do the order.
Can I show a different message if the field is less than a number (example: value insert < 2 show "Insert a number bigger than 2")?
How
Thanks so much
monak83