** Shawn,

That's very close to ours - we don't use the - but this seems to work well most of the time.

<input name="username" maxlength="30" id="username-id" value="" class="loginfield" size="30" type="text" style="text-transform: lowercase">
One thing I have noticed (and I have not had the time to track this all the way down yet) is that some desktops with non-Latin character sets don't know what to do with the idea of "lowercase," but fortunately (for us) this has been relatively rare. 
That transformation will prevent you from logging into the mid-tier as "Demo" :-)
Doug

On Feb 24, 2010, at 5:21 PM, Pierson, Shawn wrote:

**
Good afternoon,
 
I’m using ARS 7.1, and have had difficulties with users trying to log in with mixed case.  As a result, I decided to modify the Mid Tier’s login.jsp file to only display lowercase, and to use _javascript_ to convert the value to lowercase on the fly.  Does anyone have a better way of doing this?  Basically, what I did was to take the line that says:
 
<input name="<%=Params.USERNAME%>" maxlength="<%=Params.USERNAME_LENGTH%>" id="username-id" value="<%=com.remedy.arsys.share.HTMLWriter.escape(name)%>" class="loginfield" size="30" type="text">
 
and convert it to this:
 
<input name="<%=Params.USERNAME%>" maxlength="<%=Params.USERNAME_LENGTH%>" id="username-id" value="<%=com.remedy.arsys.share.HTMLWriter.escape(name)%>" class="loginfield" size="30" type="text" style="text-transform:lowercase;" >
 
I’m not a _javascript_ king by any stretch of the imagination, but this does get the job done and doesn’t require much work at all.  Does anyone see any problem with doing this?
 
Thanks,
 
Shawn Pierson
Remedy Developer | Southern Union
 
Private and confidential as detailed here. If you cannot access hyperlink, please e-mail sender.

_Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_



Doug

--
Doug Blair
+1 224-558-5462

200 North Arlington Heights Road
Arlington Heights, Illinois 60004



_Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_

Reply via email to