RE: [PHP] Text Boxes

From: Date: Thu, 09 Nov 2000 09:14:27 +0000
Subject: RE: [PHP] Text Boxes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24452@lists.php.net to get a copy of this message
Lawrence.Sheed@dfait-maeci.gc.ca wrote:
Javascript (ugh) might help on the client side to force input to be only uppercase. I know of no html attribute which will do that anyhow. On the server side, you can always do a very easy $string = UCASE($string)
Not sure about 4.x, but AFAIK version 3.x doesn't have a function named ucase(). You may mean one of ucfirst() or ucwords(). There's also strtoupper() and strtolower(). http://www.php.net/manual/html/ref.strings.html -Brian
on the returned string to convert it to upper case, then you don't really care what the user typed in... -----Original Message----- From: Sonya Davey / QDCEL [mailto:SonyaD@PQAfrica.co.za] Sent: November 9, 2000 04:59 PM To: 'php-general@lists.php.net' Subject: [PHP] Text Boxes Hi . I would like to set the property of a text box to default to uppercase text only. I am using Dreamweaver Ver3, and PWS. Can anyone help? Sonya Davey


« previous php.general (#24452) next »