Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

How do I remove commas from a text field set as a number?

Avatar

Former Community Member
I have a field set up as a number. The number is an integer, 9 characters in length. I don't want any commas. I have tried setting the various formats for this field but whenever I enter a number, designer adds the commas as I exit the field. Is there a simple solution to eliminate the commas, or prevent them in the first place?



Thanks,



Stan
3 Replies

Avatar

Former Community Member
Hi,



Have you tried the pattern 999999999



Well, if you are using a text field you may want to use the pattern num{999999999} instead.



Does this solve your problem?



Hélène

Adobe Systems

Avatar

Former Community Member

In a text field you can not use num{999999999} you have to use text{999999999} otherwise you will get an incompatable type error. And how did you get rid of the commas? I still get commas eventhough I use num{999999999} in a numeric field.

Avatar

Former Community Member
Helene,



Thanks! That did it. I was changing the "data pattern" to 99999. I found the "display pattern" and got it working.



Thank you.