How do I remove commas from a text field set as a number? | Community
Skip to main content
November 8, 2007

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

  • November 8, 2007
  • 2 replies
  • 8984 views
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
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

November 8, 2007
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
October 31, 2011

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.

November 8, 2007
Helene,



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



Thank you.