Widget method to obtain label/text?

Hi there

Is there a method to obtain this label? password.complexity.length.description
We are building a custom real-time pw validation and we would like to obtain the existing Okta labels per language we support

I know we can override these labels but I wonder if there’s a way to obtain them from the Widget? Like oktaSIW.getLoc(‘password.complexity.length.description‘, ‘en’)

Best,

Anthony Leandro

Splunk/Cisco

HI,

You can write a custom script using the afterRender function to retrieve the HTML element associated with the label.