Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Edit CharCase - what's the purpose???



Permlink Replies: 1 - Last Post: Sep 11, 2015 8:14 PM Last Post By: Erick Engelke
Bill Mullen

Posts: 2
Registered: 1/25/01
Edit CharCase - what's the purpose???
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 27, 2014 4:02 PM
Just discovered that setting the CharCase value to ecLowerCase does in fact display lower case characters in the field, however when you grab the data using document.getElementById('fldname').value, any characters that were entered as uppercase characters will be returned as upper case characters.

Is this as designed?
Erick Engelke

Posts: 101
Registered: 12/5/02
Re: Edit CharCase - what's the purpose???
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 11, 2015 8:14 PM   in response to: Bill Mullen in response to: Bill Mullen
Bill Mullen wrote:
Just discovered that setting the CharCase value to ecLowerCase does in fact display lower case characters in the field, however when you grab the data using document.getElementById('fldname').value, any characters that were entered as uppercase characters will be returned as upper case characters.

Is this as designed?

Use strtolower() to lower case it.

I would use it for Email address enterring, so caps aren't displayed.

--
Erick Engelke
HTML5 Builder Book
http://www.erickengelke.com
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02