hi there,
i have a piece of Java code which work well, but i need it to accept numbers only. here it is:
window.addEvent('domready', function() {
var name = new LiveValidation('text_14');
name.add( Validate.Length, {
minimum: 10,
maximum: 15,
wrongLengthMessage: 'Phone Number Must be between 10 & 15 characters'
});
});
would you please help me make proper changes?
thanks
i have a piece of Java code which work well, but i need it to accept numbers only. here it is:
window.addEvent('domready', function() {
var name = new LiveValidation('text_14');
name.add( Validate.Length, {
minimum: 10,
maximum: 15,
wrongLengthMessage: 'Phone Number Must be between 10 & 15 characters'
});
});
would you please help me make proper changes?
thanks