Edit Input Not Working in Pega 8.8

Hi, we are using Pega 8.8.2 Constellation , We have a requirement when we give a value like 1234abcdef, it should change to 123ABCDEF. I tried Using “toUpperCase” Edit input on the property level. This same edit Input is working in lower versions. Even I tried Declare Expression, Declare On Change nothing is working. Please provide any inputs on this.

Thanks in Advance!!!

@chetanguptab do you fix this problem?And can you tell me how to fix it?

@JianHongL17085136

There are a couple of ways you could achieve this using Constellation features.

In platform 23.1 onward you can use flow action form refresh settings to trigger a data transform when a particular field is changed. You can use this data transform to execute a function to transform the entered value to upper case. For example if I configure a refresh setting on .MyText1 I can then use a set action in the associated data transform to convert to upper case.

@toUpperCase(.MyText1)

This is functionality is described further in the following documentation.

Configuring dynamic field behavior (pega.com)

Another option is to use the Masked Input component from the Constellation UI Gallery. These components have been tested with platform versions 23 and 24 so I am not sure if they will work on 8.8.2. This will not transform the input in quite the same way but you can specify as mask to that the value can only be entered in the required format. 123ABCDEF could be achieve using a mask “000AAAAAA”

Fields / Masked Input - Docs ⋅ Storybook (pegasystems.github.io)

You could also use these in combination to allow users to enter lowercase using a mask “000aaaaaa” and using form refresh settings to transform to uppercase.

@Marc AldermanThank you so much.I use first way to fix this problem.