Expand my Community achievements bar.

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

Radio Button Setting the Display Value of Numeric Field

Avatar

Level 4

I have a Radio Button with two items, if the first button is selected then the Numeric Field should display as a dollar value ($x,xxx.xx) but if the second button is selected the the Numeric Field should display as general numbers (x,xxx) with no decimal.

Any assistance would be greatly appreciated.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

You can change the display pattern at runtime, but it requires a bit of scripting.

There is an example here: http://assure.ly/hVcqlj, if you have a look at the radio buttons on page 2. There is script in the click event that should help you.

Hope that helps,

Niall

Assure Dynamics

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

You can change the display pattern at runtime, but it requires a bit of scripting.

There is an example here: http://assure.ly/hVcqlj, if you have a look at the radio buttons on page 2. There is script in the click event that should help you.

Hope that helps,

Niall

Assure Dynamics

Avatar

Level 4

Thank you so very much as you already know it worked perfectly.

Thanks again.