return Validation.get('IsEmpty').test(v) || (!isNaN(v) && !/^\s+$/.test(v));
this little code validates if an input is number only. but i want to accept numbers and dash (-) characters in the textbox.
can anyone try to manipulate this peace of code so that it can also accept dash (-) character.
thanks in advance!