Expand my Community achievements bar.

SOLVED

numeric field

Avatar

Level 2

Hi,

I’ve got a numeric field which should show euros in this way:

Frage.png

In Acrobat Pro there’s no problem if you give in a number without decimals. Here I’ll get an error message instead of making the decimals automatically. ,00 becomes ignored. If I give in a number with 4 (Why is it important whether it is a number with 1, 2, 3 or more numeric?) numeric or more + decimals then the field shows me 0. If I give in, in the first step, a number with 4 numeric or more without the decimals it works and then put the decimals in a second step I’ll get the number without decimals. (But no 0!!!) Where’s the logic?

Thanks in advance for helping me!

Matthias

1 Accepted Solution

Avatar

Correct answer by
Level 10

Thanks Matthias,

Back off holidays.

If you amend the display pattern and set the locale you can get it to display the way you want.

Parallels Desktop1.png

displays as: Parallels Desktop.png

See that I have deleted the third '9' after the decimal point. Give that a go,

Niall

View solution in original post

5 Replies

Avatar

Former Community Member

Hi Matthias - I feel I could help you if your questions was worded a little more clearly - at the moment I understand your problem as follows:

you enter: 1     the field displays $1.00

you enter: 2     the field displays $2.00

you enter: 3     the field displays $3.00

you enter: 4     the field displays $4

you enter: 5     the field displays $5

is this a correct interpretation?

Regards David

Avatar

Level 10

Hi Matthias,

Why don't you use the euro pattern? 1.234,21 €

Safari1.png

When inputting values the numeric field will not recognise ",". This is set as a part of the display pattern and is inserted by Acrobat. So if the user inputted 1234.21 it would be displayed as 1.234,21 € automatically.

The display pattern you are currently using is likely to display 1,234.210.

You can also build your own custom display patterns.

Niall

Avatar

Level 2

Hi Niall,

thanks for your help! (You're fine? Not in holiday?)

I thought that if I use the euro pattern, the € symbol is shown, too. :-(

Is there any solution to show the ,00?

And can you help me with these two problems, too?

http://forums.adobe.com/message/3069237#3069237

http://forums.adobe.com/message/3069229#3069229

Thanks in advance for helping me!

Matthias

Avatar

Correct answer by
Level 10

Thanks Matthias,

Back off holidays.

If you amend the display pattern and set the locale you can get it to display the way you want.

Parallels Desktop1.png

displays as: Parallels Desktop.png

See that I have deleted the third '9' after the decimal point. Give that a go,

Niall

Avatar

Level 2

Hi Niall,

thanks. I tried the euro pattern now and candelled the $ symbol. Like this:

num{z,zzz,zz9.99 }

Matthias