I am using an Okta Sign In Widget, Redirect Method, v7.
Our design team wants an informational alert to be displayed above the Username field with some instructions. I can see in the html that there is a element with a class of “o-form-info-container”. I am pretty familiar with Bootstrap CSS framework, which leads me to believe this is used to show informational messages of some sort. I am attaching all my edits in the “afterRender” of the widget. I was getting this div element and setting the textContent of it but it will not display. This leads me to believe some event needs to be triggered, but I am unable to find this event to display this element. I was hoping to use it because it might well be formatted close to what I need. Is there a way to force/trigger this informational element to display from the afterRender event? Or am I just better off building a new element and adding it to the page?
TIA
Aaron
Hi,
As to answer your question: yes the better route would be to build a new element and to add it to the page.
@andrew1 Thank you very much for the answer. We did decide to build a new div and add it to the DOM.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.