Log in to ask questions, share your expertise, or stay connected to content. Don’t have a login? Join now.
How to change the "required field" text in a weblogin or a self registration page of ClearPass Guest?
We can change the above mentioned "required field" text to any other required text by using the below mentioned script
We can change the "required field" text to any other required text by using the below mentioned script
Script:
<script type="text/javascript" charset="UTF-8" language="JavaScript">{literal} addLoadEvent(function () { var spans = document.getElementsByTagName("p"); for (i = 0; i < spans.length; i++){ if (spans[i].className == "nwaRequiredField"){ spans[i].innerHTML = '<span class="nwaImportant nwaRequiredField">*</span> <small>enter your text</small>'; } } }); {/literal}</script>
Paste the mentioned script in footer html section of any weblogin page or a registration page and save the changes.
We would start seeing the configured text instead of "required text" as below screenshot.
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.