Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Numeric Field Question

Avatar

Level 4

I have several numeric fields in my form. I'm having problems getting the numbers to format correct. For instance, if I type in 5.00 & go to the next field the .00 get stripped off & only shows a 5

I've tried fixing it by editing the validation pattern but NOTHING I am trying is working....any ideas? Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

It looks like you are using a decimal field, try setting the Display Pattern to:

num{z,zzz,zz9.99}

Hope that helps,

Niall

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

It looks like you are using a decimal field, try setting the Display Pattern to:

num{z,zzz,zz9.99}

Hope that helps,

Niall