Hey All,
I have a dynamically added integer field on a form I’m working on. I would like to disable formatting on this field, much like you can do with standard integer fields, so that, for example, entering 1234 into this field, displays as 1234, and not 1,234.
Here’s my code for adding the field to the form. I looked in the ss dev/ref guide, but I’m not seeing any API for disabling this formatting.
var field1 = form.addField(‘custpage_field1’, ‘integer’, ‘Search By Integer Number’, null, ‘main’);
form.insertField(field1, ‘custevent_search_by_integer’);
How can I disable the standard formatting applied to integer fields for this dynamically created integer field.
Much thanks in advance for any helpful answers.
This is a cached copy. Click here to see the original post.