Posted: 21 Aug 2019 10:29 EDT Last activity: 14 Jun 2021 7:38 EDT
Client Side Validation onchange event
Created a js text file
Referenced the text file on the proper harness
Write the correct logic to determine if the value is valid or not. I have proven that it has worked with logging the tests in the browser.
I wanted to show the error before the form is submitted while the user is still working. I am checking one property against two other properties, one that holds a comparator (<, >, or =) and another that holds a numerical value. I can achieve this with a when rule and a label (attached picture), but ideally the Pega error should be displayed for uniformity (includes label formatting and error icon).
Posted: 1 year ago
Updated: 1 week ago
Posted: 21 Aug 2019 15:05 EDT Updated: 14 Jun 2021 7:38 EDT