Question
Merative
US
Last activity: 28 Aug 2024 6:47 EDT
Read updated clipboard values in Web-Login HTML section
Our requirement to show captcha on login screen and validate it on client side with the user input. For captcha, we are using PEGA OOTB approach by calling the Code-Security.pyGenerateCaptcha activity using background: url("Code-Security.pyGenerateCaptcha").
When this activity runs, it will send the captcha image to browser and also sets a property on pxRequestor page.
We tried reading this value in javascript variable. However, when the section loads initially, pxRequestor page does not have any captcha value, so a null value is set to the variable. Then when the captcha image is loaded, captcha value is set on the pxRequestor page.
We want to read the latest value set on pxRequestor page without having to refresh the entire HTML section so we can show the client side validation on UI. Has anyone done this?