Is there any field type as number?

swathigangadhar
Tera Expert

Is there any field type as number? I just want to enter only numbers in that field. How to do that? Can anyone please help me with this?

Thanks in advance,

Swathi

8 REPLIES 8

Am not getting decimal field.


Hi,



You may run a client script to accept numbers



if(!isNaN(g_form.getValue('location_listed'))


{


        alert('Your Message')


        return false;


}


It is not working


Mohammed Lais1
Mega Guru

Hi Swathi,



You can use string field and use client script to validate it.


for script refer Validation scripts in service now.



find_real_file.png


find_real_file.png