Nikita Zaitsev (NikitaZ2)

NikitaZ2 Member since 2020 2 posts
Posted: May 18, 2020
Last activity: June 12, 2020
Posted: 18 May 2020 3:30 EDT
Last activity: 12 Jun 2020 5:55 EDT

Decimals - pega's client-side validation triggers before custom scripts

In my locale, decimal separator is ',' and there is no grouping separator. We have a script connected to harness which replaces all '.' with ',' in decimals, in case the user inputs the wrong separator. 

The script works fine on first input. The problem we found with Chrome is, if you edit an input field twice and enter a decimal with a '.', pega's built-in clientside validation, "webwb pega_validators js", triggers before the script and displays "x.x is not a valid decimal value" error despite the '.' being replaced at the same time. 

How can we solve this issue? Disabling clientside validation in harness is undesirable.

***Edited by Moderator: Pallavi to update platform capability tags***

Pega Platform 7.2.2 User Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.