- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2011 12:18 PM
Hi All,
I created a field within a certain table having an integer data type. I tested the value and it automatically provides a comma after every 3 decimal places.
Question: How do I disable this? We don't want the comma. I tried looking at the wiki (and googled it) but no avail.
Thanks,
Dor
(Day 45)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2011 12:09 PM
I have overcome this dilemma weeks ago. I am now writing it to share with you...
What I did was created another field having Integer datatype along with the required field that should have no comma (chosen data type is String); In the form, I created a section called 'Admin Use' and created a client script that hides it from non-admin users. The Integer field is in this section. So, when I perform import, I populate both fields. One for Business Analyst's use and one for us (Admin). SO, I can sort records with an integer-behaviour and not a string-behaviour.
If there's another way of doing this, please let me know. Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2022 12:31 AM
Hi salvadorsarchan,
although it is a decade after you asked for another solution: Use "format=none" as dictionary attribute will remove the thousand-separators on the integer field.
Best regards,
Bastian

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2012 05:07 PM
mark.stanger
Curious if there are other options. I'm looking to create a field that will hold invoice numbers. We don't want the commas in this case but would like to enforce that end users can only enter numbers in the field. Perhaps we need to set this as a string field and set up a business rule or client script to enforce that only numbers are entered?
Thanks for any thoughts on this!
Scot

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-09-2012 05:22 PM
You can set up a script to validate that the field only contains numbers. This could be done in an onChange or onSubmit client script, or a 'before' business rule. Something like this would work in a client script...
if(/\D/.test(g_form.getValue('YOUR_FIELD_NAME_HERE')){
alert('Field must only contain numbers');
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2013 11:33 AM
A simple solution for this, say when you want/need to use an integer field for a calculation and thus don't want the comma's, is to add the attribute "format=none" to the dictionary entry. This will drop the comma allowing the calculation to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2016 05:16 AM
Thanks Russell,
I had a similar issue with integer formatting.