Is there a way to customize the username/password prompts on the main custom login page, and on the secondary custom login page?
I've tried setting the prompts variables, on both pages, but it always puts the secondary auth box on the main page and does not customize the secondary auth text.
At this point, even if I remove the prompts variable definitions I can't get it to bring up the secondary page, is there a way to force that as well?
Thanks
Greg
I figured it out. Given that I'm not a web dev or even close, I had a bit of a hard time figuring these out, and its not exactly obvious in the help docs unless you know your way around.
Ultimately it was defining the prompts within each if statement that made it work, no example that I found did that. Once I did that all I had to do was define the prompts on the secondary page and it worked.
Here's the code I used for reference.
LoginPage.thtml
<% FOREACH prompt = prompts %>
<% IF prompt.promptText == 'username' %>
<% SET prompt.promptText = "Domain Username" %>
<tr>
<td><% prompt.promptText %></td>
<td> </td>
<td><input type="<% prompt.type %>" name="<% prompt.name %>" size="20"></td>
</tr>
<% ELSIF prompt.promptText == 'password' %>
<% SET prompt.promptText = "Domain Password" %>
<tr>
<td><% prompt.promptText %></td>
<td> </td>
<td><input type="<% prompt.type %>" name="<% prompt.name %>" size="20"></td>
</tr>
<% END %>
<% END %>
SecondaryLoginPage.thtml
<% FOREACH prompt = prompts %>
<% IF prompt.promptText == 'Additional password' %>
<% SET prompt.promptText = "Token" %>
<% END %>
<% END %>
Thank you for the assistance. Where in the login pages do you place this code to get this to work properly?
Thank you very much, this worked perfectly for our secondary login page!