Commas in Integer Field

Kumar38
Kilo Sage

Created a Integer field and restricted it to a maximum length of 10 using onchange client script. 

When I enter numbers they are getting separated by Commas. Added format=none in Attributes ,then it starts accepting strings too.

How do I fix this?

1 ACCEPTED SOLUTION

SanjivMeher
Kilo Patron
Kilo Patron

The only thing you can do is add a validation to not allow string. Below link should help to add the validation. Keep the format = none.

 

https://community.servicenow.com/community?id=community_question&sys_id=36610b29db98dbc01dcaf3231f96...


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

1 REPLY 1

SanjivMeher
Kilo Patron
Kilo Patron

The only thing you can do is add a validation to not allow string. Below link should help to add the validation. Keep the format = none.

 

https://community.servicenow.com/community?id=community_question&sys_id=36610b29db98dbc01dcaf3231f96...


Please mark this response as correct or helpful if it assisted you with your question.