AAA, NAC, Guest Access & BYOD

 View Only
last person joined: one year ago 

Solutions for legacy and existing products and solutions, including Clearpass, CPPM, OnBoard, OnGuard, Guest, QuickConnect, AirGroup, and Introspect

How to change the "required field" text in a weblogin or a self registration page of ClearPass Guest 

Sep 08, 2016 09:28 AM

Requirement:

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



Solution:

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>

 



Configuration:

Paste the mentioned script in footer html section of any weblogin page or a registration page and save the changes.

 

 



Verification

We would start  seeing the configured text  instead of "required text" as below screenshot.

Statistics
0 Favorited
2 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.