Expand my Community achievements bar.

dynamically change the pattern of numeric/decimal field in adobe

Avatar

Level 1

Hi, I have a ADOBE form created through SAP.

One of the field in the form is a numeric type and its property under Object>Cell>Display pattern is set as z,zzz,zzz,zz9.99.

I have a requirement that for a particular condition this field should display the values with four decimal places. I am not able to figure out what property to use in the scripting.

I tried fracDigits and Format. It does not work.

The decimal places always remains 2 as set in the display pattern.

Is there any way to change this display pattern dynamically based on a condition?

any help would be greatly appreciated.

1 Reply

Avatar

Level 1

I found the answer from other discussions in this forum. sorry to have overlooked it earlier.

The answer to my pbm is to use the Format.picture = "zz,zzz,zz9.9999"