I usually do the following

 

On the label line change the text to be a non-break space

<label for="auth-id"> &nbsp; </label>

 

On the input line change the type to be hidden

<td><input type="hidden" NAME="<%=Params.AUTHENTICATION_STRING%>"
id="auth-id" maxlength="<%=Params.AUTHENTICATION_STRING_LENGTH%>"
class="loginfield" size="30"></td>

 

This way no other files need to be updated and all objects are still
available.

 

Fred

 

 

From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Sokol, Brian
Sent: Friday, January 30, 2009 12:52 PM
To: arslist@ARSLIST.ORG
Subject: Hiding the Authentication Field on Mid Tier 7.1

 

I need to hide the Authentication field for our Mid Tier 7.1 server. I
commented out the following section in the login.jsp file:

<label
for="auth-id"><%=MessageTranslation.getLocalizedText(locale,"Authenticat
ion")%></label> 
                                                                </td> 
 
<td><input type="text" NAME="<%=Params.AUTHENTICATION_STRING%>"
id="auth-id" maxlength="<%=Params.AUTHENTICATION_STRING_LENGTH%>"
class="loginfield" size="30"

                                                                ></td> 

This seems to work with one minor problem. When I comment out this
section and the Mid Tier login screen loads, my cursor is no longer
focused on the User name field. So no a user will have to click in the
field before typing. Anyone have a fix for this?

Brian Sokol 
Manager, Desktop Services 
Scholastic Inc. 
557 Broadway 
NY, NY 10012 
(212) 343-6494 
http://www.Scholastic.com <http://www.Scholastic.com>  

 

 


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Reply via email to