on 01-29-2008 3:58 PM
I am using htmlb and want to know how to make an input field show/receive UPPERCASE data (as user types in the data).
Thanks, in advance, for your help.
Hi,
Just in case you want to store it as UPPERCASE in the database, then use the
'TRANSLATE letters TO UPPER CASE' command of ABAP.
Cheers,
Tatvagna.
Edited by: Tatvagna Shah on Jan 30, 2008 4:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bob,
lots of ways to do this using client-side scripting. Here is a simple example you can draw from. http://javascript.programmershelp.co.uk/conformupperjs.php
Cheers
Graham Robbo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you do not have any property in htmlb:inputField for this.
i just implemented what Graham Robbo has suggested in the following example code. check it out .
<htmlb:inputField id = "IP1"
width = "100"/>
<s cript for="IP1" event=onkeyup type="text/ja vascript">
thas.value=thas.value.toUpperCase();
</s cript>
in the above code change the thas ( 2 occurrence) to this
PS: do reward points to Graham Robbo
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.