How auto turn lowercase to uppercase in input-field?

Hi All,
How auto turn lowercase to uppercase in input-field?
Thanks
Smile

The way I implemented it was using a javascript function to change the case by calling the javascript function from the textfield tag with onblur event. Here is the javascript code and how it was called:
enter the following code within your with the head tag
<script>
function case_checker(){
var st = document.getElementById("form1:[Enter the textfield ID here]").value;
document.getElementById("form1:[Enter the textfield ID here]").").value = st.toUpperCase();
</script>
call the code from the textfield tag has follow:
<ui:textField binding="text" id="[Textfielf ID]" onBlur="case_checker(')" style="border-style: inset; border-color: #000000; left: 216px; top: 144px; position: absolute; width: 144px"/>

Similar Messages

  • How to make numbers in message text input  fields left aligned?

    Hi Friends
    I have completed one of my task .but getting result right side of the field.
    how to make numbers in message text input  fields left aligned?
    Thanks
    Aravinda

    Hi ,
    Sorry for late replay i am trying this alos not set that page....
    pageContext.forwardImmediatelyToCurrentPage(null, true, null);
    and one more that kff field working is fine for ex display any text pled displayed properly and only problem is not set the value and HrSitKeyFlex6 and HrSitKeyFlex7 fields are perfectly get the values but not pront HrSitKeyFlex8 that only my issue....
    Regards,
    Srini

  • How i can show the selection screen input field in the top of page in alv

    hi ,
              how i can show the selection screen input field in the top of page in alv  grid output.
    tell me the process

    Hi,
    excample from my program:
    FORM topof_page.
      DATA: l_it_header   TYPE TABLE OF slis_listheader WITH HEADER LINE,
            l_info        LIKE l_it_header-info.
      DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
      DATA: l_key LIKE l_it_textpool-key.
      READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
      DEFINE m_selinfo.
        if not &1 is initial.
          clear l_it_header.
          l_it_header-typ   = 'S'.
          l_key = '&1'.
          translate l_key to upper case.
          read table l_it_textpool with key key = l_key.
          if sy-subrc = 0.
            shift l_it_textpool-entry left deleting leading space.
            l_it_header-key = l_it_textpool-entry  .
          endif.
          loop at &1.
            case &1-option.
              when 'EQ'
                or 'BT'
                or 'CP'.
                write &1-low to l_it_header-info.
              when others.
                write &1-low to l_it_header-info.
                concatenate &1-option
                            l_it_header-info
                       into l_it_header-info
                       separated by space.
            endcase.
            if not &1-high is initial.
              write &1-high to l_info left-justified.
              concatenate l_it_header-info
                          l_info
                     into l_it_header-info
                     separated by space.
            endif.
            if &1-sign = 'E'.
              concatenate ']'
                          l_it_header-info
                     into l_it_header-info.
            endif.
            append l_it_header.
            clear: l_it_header-key,
                   l_it_header-info.
          endloop.
        endif.
      END-OF-DEFINITION.
      m_selinfo: s_trmdat,
                 s_trmext,
                 s_trmint,
                 s_fkdat,
                 s_delno,
                 s_vbeln,
                 s_deact,
                 s_kdmat.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = l_it_header[].
    ENDFORM.
    I hope, this will help you.
    Regards
    Nicole

  • How to set mask in web dynpro input fields

    i am looking for how to set mask in web dynpro input fields.
    Please suggest

    Argha,
    As Maksim suggested, read my weblog -- it is an exact answer for such "masking" (/people/valery.silaev/blog/2005/11/29/800format-your-way)
    Next, you may not add custom js files to WebDynpro and change the way WD processes client input, so there is no way to force user to type only digits and to insert hyphens automatically.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • How to save changed data from a input field to the source structure

    Hi,
    I have a small problem with the onChange event with HTML input fields.
    When changing a value of a input field or by creating a new value for a field the OnChange event is called by moving away the mouse pointer....
    get_form_field( 'field_name' ).
    But is it possible to write back the new value in the source field ls_screenstructure_field1 without using the OnInputProcessing?
    I ask because my application´s structures have a lot of fields that should be filled and changed by input fields.
    It´s not comfortable to request every new value with .. = request->get_form_field(... .
    Thanks for helping.
    Cheers,
    André

    you wanted a onchange for a htmlb:inputfield which would also trigger server event. try the following code.
    <htmlb:inputField id            = "test"
                                alignment     = "LEFT"
                                size          = "6"
                                required      = "TRUE"
                                doValidate    = "TRUE"
                                type          = "INTEGER"
                                 />
    <bsp:htmlbEvent id="myid" onClick="myonclick" name="ValueChanged" />
      <script for="test" event=onchange type="text/javascript">
    alert(this.value);
    ValueChanged();
    </SCRIPT>
    if the value in the inputfield is changed it would trigger a alert at the client side and also trigger a server event. now you can caputre the value in oninputprocessing.
    Hope this helps.
    do let us know if you need help in how to capture this value in oninputprocessing.
    Regards
    Raja

  • How to show clock on f4 in input field

    Hi All,
    I did bind one of the context attributes which has CLOCK input help(BALTIME,UZEIT) to a input field but still I am not able to get the clock on f4 of the input field
    How can I show clock in input field
    Thanks
    Bala Duvvuri

    http://code.google.com/p/abap-sdn-examples-tpj/downloads/detail?name=NUGG_WD_TIMESTAMP_VALUE_HELP.nugg&can=2&q=
    http://code.google.com/p/abap-sdn-examples-tpj/downloads/detail?name=ChapterX%20-%20User%20Programmed%20Value%20Help.pdf&can=2&q=

  • How to display a value in an input field in webdynpro

    I want to get a value already shown in a particular input field
    i.e., have to fetch data to that input field as we enter that screen.
    how can we do that?
    kindly reply if anyone knows.
    Thanks and regards
    suju

    Hi,
    First of all u have to declare one variable in the prog. with the name of the i/o box u have given in the screen.
    Now in the PBO of the screen call one module.
    and in that module write the code like,
    if your i/p field name is INPUT_F then
    MODULE assign OUTPUT.
      INPUT_F = 'XYZ'.
    ENDMODULE. 
    Here u can assign the value by fatching through the DB also.
    I think this will help u.
    thanks

  • How to assign search help for an input field by fetchign values from an int

    i have an input field ,
    i want to assign search help for the same by fetching values from a table.
    how to achieve this ?

    Using the below ways you can assign search help to a field.
    1) [OVS Search Help|http://wiki.sdn.sap.com/wiki/display/Snippets/OVSsearchhelp]
    2) [Freely Programmed Search Help|http://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help]
    3) Dictonary Help - Use the Data element for that purpose.

  • How to implement AZAX call for a input field in webdynpro java.

    Hello everyone,
    I want to make a AZAX call , when I click on the input field.Anybody has already implemented this earlier, plz let me know how to do this.
    Thanks,
    Srikanta

    Undo/Redo is a pain in the neck. If I recall correctly, I usually use a javax.swing.undo.CompoundEdit to group smaller edits. Not sure if this will work but you might try starting a compound edit when a user strikes a key and ending it after a certain amount of time passes without a keystroke. This will allow rapid bursts of typing to be grouped as a single edit.

  • How to get the vlaue from an input field without hitting the enter button ?

    Hello All,
      Is there some way to read the values of an input field that was filled in by an user eg ..
    String userEntry = wdContect.<UIElement>.value;
      So far, I am only able to achieve this using the onEnter property whoch really is not very user friendly since I can only read in the values only if the user hits enter.
      Any help will be appreciated.  Thank you.
    from
    Kwok Wei

    1. Create a value attribute (MyText) in the controller context
    2. Create a value attribute (MyText) in the view context
    3. Map view context attribute to controller context attribute
    4. Create InputField in the view and map the "value" attribute to the MyText view context attribute
    5. Create Action on view (Send)
    6. Create Send button and specify Send action as onAction attribute
    7. Create executeSend() method on controller
    8. onActionSend() implementation:
      public void onActionSend(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSend(ServerEvent)
       wdThis.wdGet<controllername>Controller().executeSend();
        //@@end
    9. executeSend() implementation:
      public void executeSend( )
        //@@begin executeSend()
                   // Get MyText
                   String MyText = wdContext.currentContextElement().getMyText();

  • How to get the value from the Input field of the Table view.

    Hi Experts,
    I have created a table view with 10 rows and each rows contains input fields in it.Can you please help me getting the values that are entered in all 10 rows.
    Currently I am using the below code,but using the below I am able to get only the first row details of the table.
      lo_el_table->get_static_attributes(
        IMPORTING
          static_attributes = ls_table).
    Please let me know you suggestions on this.Thanks in advance.
    Regards,
    Arun

    Hi Arun,
    You should use this method:
    lo_nd_table->get_static_attributes_table(
    IMPORTING
    table = lt_table).
    Cheers,
    Roelof
    http://www.nl4b.com

  • How to use wild card character in input field

    Hi
    I'm creating model in which the Purchase Order information need to be entered in Input Field.
    My requirement is search using wild char char as '*'
    Let say in input field  i gave PO order as 20* then it'll search for all the PO's which starts from 20.
    Could you please share some documents/guidelines, for this issue
    Thanks and Regards
    Puneet

    Hi,
    You can use the wild card char in the input box.please try  below steps.
    1.Check whether the input string has ' * '  char using "CONTAINS(text,pattern)" operation.
    2.If yes, Replace the ' * ' with space by "REPLACE(text,pattern,repstr)" operation.->consider this result as input2
    3.Now , Have a Filter from ur webservice(which gives your Purchase Order information )
    and filter it by the condition " BEGINS(WSField,input2)"
    the Final expression in the filter will be "_=IF(CONTAINS(input,""),BEGINS(HelpWSField,REPLACE(input,"\","")),true)_"
    Hope it helps.
    Regards,
    Priya
    Edited by: priya on May 20, 2009 12:49 PM

  • How to set number of characters in input field ?

    I am creating an input field dynamically (via CL_WD_INPUT_FIELD).
    I am binding the value (via BIND_VALUE) to an attribute with type CHAR30.
    I want to give the possibility to enter a number with 4 digits (0 - 9999).
    Is it possible to restrict the number of characters that can be entered to 4 (although the BIND_VALUE attribute has a type CHAR30, that allows 30)?
    I have tried it via set_length, bind_length but it seems that the length of the BIND_VALUE attribute overrules the length information...

    Hi Moritz,
    AFAIk you have no other option as using a NUM4 here.
    Set Length just sets the lengths of the inputfield according to the current character set ... count of charcters but does not limit the value you may enter
    Cheers
    Sascha

  • How to convert lowercase to uppercase characters?

    Hi!
    I am a newbie to LiveCycle; I have created a form but I want all characters in the field to automatically be converted to uppercase, regardless of the input.
    Thanks
    Jofar1

    Thanks Paul.
    How do I get the "exit event" option?

  • How can I disable synchronization of search input fields between different applications?

    Hi
    This feature, as I'm assuming it is, is really starting to rub me a very wrong way...
    Whenever I write anything in the search field of what seems to be any application in OS X, the input I write in the search field is being copied to any other application's search field. E.g., I'm searching in iTerm for text in log outputs, then I go to Sublime Text and write a regexp in the search field. The search field there now already contains what I wrote to iTerm's search field. The regexp I start writing likewise migrates to iTerm's search input whenever I return to it, destroying my search session there. I then go to Safari to search the Perl regexp documentation to help me with the expression I'm currently assembling in Sublime's find input. When I return to Sublime, my regexp is wiped with the input I made in Safari's search input, so that I have to start over completely creating my regular expression.
    It's incredibly frustrating, and I'm really hoping that this "feature" can be turned off, but I cannot figure out where, if at all?
    Does any one of you know?
    TIA,
    Daniel

    Hello,
    Here is the Oracle Forms forum, and your question has really nothing to do with this product.
    Please, send this kind of question in the database forum, you would increase your chances to get the appropriate answer.
    Francois

Maybe you are looking for

  • Excise Invoice type for Bond

    Hi all, For Outgoing Excise Invoice through J1IIN, while doing utilisation, the Excise type is not changing to Bond.  The Blue font highlights only for deemed.  The Default excise groups and series are maitained for Bond. By Clicking the change icon,

  • Payment block field for Vendor

    Hello, Is it possible to set user authorization in a way that user has display option for a vendor and change option only for the field 'payment block'? Regards, Dragan

  • Rename File

    Greetings, Is it possible to rename a file while it is open in Photoshop? I use an action when closing/saving that saves the file in 3 different sizes/formats and it would be great if I could name the file just prior to saving. Thanks David

  • Having trouble with .avi files

    I use quicktime 7.0.3. I noticed that I cannot watch .avi files. everytime i try playing .avi files, quicktime brings me to an internet site where i can download fifferent addons or softwares to play the .avi files. i tried downloading two of them bu

  • Close captions. Multiple streams, every stream from scratch?

    I'm making subtitles to my short film(silent) and I need two subtitle streams, one for Finnish and one for English. I thought that the easiest way is to make Finnish one first (CC1 stream) and then just duplicate it, select it, go to captions panel,