Selecting text in a field

Good morning everyone
I'm playing around with a textfield today where I want to have some default text showing by default and when I go into the textfield box, the text would all be selected by default so that the user as an easy time removing it from there.
Right now, I add my values to the object.default ="please choose one". That works ok, now how can I have the text selected when user puts the focus in that textbox? I cant seem to find anything that can do that.
Does anyone have an idea if that's doable or not?
thank you so much again.
Pat_rick

Hi there,
there is an easy way to do this without having to select/deleting the text in the textfield
it is called ghost text, it is simply a display pattern for fields when they equal a null value..
just go in that textfield you are talking about, in the Object properties / Field tab click on the Pattern button..
once in the Pattern dialog box, make sure you are in the display tab,
then under Pattern, just write in the textbox : null{'Please choose one'}
This should do the trick
Hope this help!

Similar Messages

  • With FF 10, when accessing fields: no cursor appears, cannot select text, no visual indication that you have accessed a field.

    When clicking in a field to enter text (as in this text box), no visual indicator appears (i.e., blinking cursor) to let you know that you have accessed the field. In addition, when selecting text in the field, there is no indicator that you have selected text (not highlighted). The only way to know is to start typing or to try and cut the text or paste text. It is not intuitive at all.

    You may be experiencing this bug that will be fixed in Firefox 10.0.1, possibly released later this week.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=718939 bug 718939] - Java applet causes text entry fields to become semi-unresponsive

  • Can no longer select text in email template or read only field with mouse using IE or Firefox?

    Hi Guys,
    I can no longer select text in email template or read only field using my mouse in IE or Firefox anymore. We are using CRM 2011 rollup 18 applied with IE 11 and the latest version of Firefox. We only applied roll up 18 in Feb when this issue began.
    Thanks
    Dave
    David Kelly

    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    (You also can clear Firefox's cache completely using:
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now")
    (2) Remove the site's cookies (save any pending work first) using either of these. While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    These features rely on JavaScript, and it sounds as though you have scripting enabled if you get (the wrong) color changes. Some add-ons might alter the way scripts operate, so a standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode."
    If those features work correctly, this points to one of your extensions or custom settings as the problem.
    To also disable plugins, you can use this page:
    orange Firefox button ''or'' classic Tools menu > Add-ons > Plugins category
    Any change?

  • How can I get the tab key to select text fields only?

    Since upgrading to Firefox 4 on Windows, the tab key functions differently. How do I change it so that it only selects text input fields?

    The answer is:  The bug is in the UI.  Speech recognition was enabled, by default it uses the bare escape key as a "mic on" indicator, and it does not leave any trace in the keybord configuration.  So that is the bug.  It needs to leave a trace there, a la: "X Listen-for-voice-command  ^" under Mission Control.

  • Populating a text field depending on what is selected in list item field

    I have A form which contains a ROOM_REF field which is a list item, and a ROOM_DESC field which is a text item. (among other things).
    When the user selects from the ROOM_REF field (which is populated by a record group on startup),
    I want it to automatically populate the ROOM_DESC field with the coresponding (read only) data.
    Which kind of trigger do I need to use and with what code?
    Something like:
    SELECT ROOM_DESC FROM ROOM WHERE ROOM_REF = :SESSION.ROOM_REF;
    Thanks

    Did you try this code in WHEN-LIST-CHANGE trigger of list item.
    SELECT ROOM_DESC INTO :ROOM_DESC FROM ROOM WHERE ROOM_REF = :SESSION.ROOM_REF;-Ammad

  • Possible to automatically select text field data on enter

    I have been trolling this forum for a couple weeks and have figured out everything on my form except this issue.
    I would like my form to automatically select the "data" that is in a text or numeric field when the field is entered. 
    For example:  If I open a form that has been filled out previously I would like each field's data to be selected when I enter the field either by tab or clicking on the field.  This way I can overwrite the current data much easier without having to double click to "select all" or backspace to delete the current field.  It is possible that the data should stay the same so I dont want the data to be deleted on enter just "selected"
    Thanks for your help,
    Joe

    Hi Joe, When using the keyboard and tabbing to a field all the fields contents are selected, but this doesn't happen when using the mouse and clicking into a field.  Have a look at this sample which tries make the mouse behave the same as the keyboard http://adobelivecycledesignercookbookbybr001.blogspot.com.au/2013/05/on-click-select-all-t ext-in-form-field.html.  Bruce

  • Selection  text  against  field selected

    Hi,
    I  have a field (pa0000-pernr) on  selection  screen as a parameter,
    Now when the user selects a single pernr from the F4 of pa0000-pernr,  the text  against  the pa0000-pernr,  should be displayed against the filed.
    How can this be achieved.
    Thanks in advance

    Hi,
    You can use like:
    at selection-screen on <your field>.
    select single desc into so_field2 from <dbtab> where key = so_field1.
    Regards,
    Renjith Michael.

  • Selecting text field from table ignoring capitalization

    Hi,
    i'm doing a read on a table using select.....where text in s_text . if i want to ignore the capitalization; how to perform the read.
    for eg : if the text is saved as 'Name' and in my select criteria if i specify the selection text as 'name' it should pick up even if 'N' is not in CAPS in DB.
    Thanks,
    GV.

    Hi,
    The Function Module, STRING_UPPER_LOWER_CASE will convert your string to lower case except the first letter
    So if user input as name, after passing it to FM you will get the value as 'Name' and then you can able to check your condition
    May this will help you
    Rani

  • Create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box

    HELP!!! Can anyone please provide some guidance on how to create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box.
    I have a form which – based on the department that's selected from a drop-down box – will have different form fields/text boxes, etc, made available.
    Is this possible in LiveCycle, if so, can you please provide the script/info - as needed.
    Thanks,

    In the preOpen event of the second dropdown list you put something like (in formCalc):
    if (dropdown1 == 1) then
    $.clearItems()
    $.setItems("Year, 2 Year,  3 Year")
    elseif (dropdown1 == 2) then
    $.clearItems()
    $.setItems("3 Year,  4 Year")
    endif

  • How can I select text in a thtmlb:tableview in a pop-up?

    Hi,
    We have a number of pop-up screens that contain thtmlb:tableview tags.  For some reason, it is not possible to select text (left-mouse click then drag cursor) in these pop-ups.  We are currently having to put any text that the user might want to select in disabled inputfields, but this looks rather ugly. 
    Does anyone have a solution to this problem?  The selection of text within tableviews works fine if the view isn't displayed in a pop-up.
    Many thanks,
    Andrew

    HI Andrew,
    I have a littel problem in understanding the business use case.
    Why should the user want to copy the text from the view.He will either select a row,by using the seletion tabs at the side of the view.
    But why woudl he actually copy the text by left clicking and dragging the mouse over the text.Doesn't look like a valid use case.
    What i have implemened once is where the table in the pop up contains multiple fields,and the user wants the description (ie one field) to be populated automatically into the field after selection of that row in the table view.Thsi can be eaqsily achived by making the table view select option as true and changing the html code also to fetch the selected index.
    After this, the selected entity can be obtained from the collection wrapper,since it becomes the current entity:
    me->typed_context->(context node name)->collection wrapper->get_current()
    Now the desired field from this entity can be copied into the field of your choice in the parent view.Also once the user clicks the selection tab to select the enitty,popup_close method shoudl be called and pop up shoudl be closed immediately.
    All this processing should happen in an even handler eh_onselect().

  • Can you change the color of selected text in word?

    I use Word 2010, and when I select text it is always blue, is there a way to change the color?

    I use Word 2010, and when I select text it is always blue, is there a way to change the color?
    My earlier posting was an error.
    I apologize.
    You seem to be saying that the default colour for text is blue.
    You need to change:-
    Normal.dotm
     - to change the default colour of text.
    In order to change the default colour of text take the following steps (that were tested on Windows 7 and Office 2007 - the process should be
    similar, if not identical, for yourself):-
    1. Open a new blank document (this should
    have the default text as blue).
    Save that document with a new name for example:-
    c:\word\testing_aug_25_2014_2
    2. In the above document:-
    Insert tab
    Text group
    Click on the drop down arrow to the lower right of:-
    Quick Parts
     - then click on:-
    Field . . .
    The:-
    Field
     - window should open.
    3. In the:-
    Field
     - window in the field called:-
    Field names:
     - scroll down to:-
    Template
     - and click on that option so that it's highlighted in blue.
    Now, towards the top right hand corner of the same window, click in the box called:-
    Add path to file name
     - so that it has a tick (check mark) in that box.
    Click:-
    OK
    The file name of the template should now be inserted into your document.
    On my machine this was:-
    C:\Users\user_name\AppData\Roaming\Microsoft\Templates\Normal.dotm
    The above path might be different for you.
    4. I saved my document at this point.
    5. Now open the file called:-
    C:\Users\user_name\AppData\Roaming\Microsoft\Templates\Normal.dotm
    A document should open on your screen (still with blue text) and with:-
    Normal.dotm
    - in the middle of the Title Bar at the top of the screen.
    Highlight all of the text in the document so that it's (for example) black.
    Save the file.
    6. Close all open documents in WORD and
    close WORD itself.
    7. Now open a new document and its default
    text should be set to the colour that you applied at step 5. above (I used black at that point).
    Does that resolve your problem?

  • Is there a way to simultaneously add text to Comments field for multiple files?

    Is there a way to simultaneously add text to Comments field for multiple files? I know I can use Option+Comman+i to bring up the Inspector window but it doesn't have a Comments field. For example, in iTunes you can select multiple files and change metadata for any field simultaneously and easily yet when it comes to the Comments field in the Finder, this seems to be missing.
    In our production environment, Comments field is important because we place notes about what drive the file originated then when it gets transferred to LTO-6 tape via LTFS, we can quickly trace it in the event we needed to recreate the hard drive. Because tape archiving is linear, we can't store all of the files on the same tape.
    We've tried using Apple's Automator but it too seems to not have a way to batch change text in the Comments field. Any help is appreciated.

    What is "order data"?

  • How can I remove ASCII text from a field when I use it in a query

    How can I remove ASCII text from a field when I use it in a query?
    I am running a select statement on a table that appears to have ASCII text in some of the fields. If I use these fields in the where statement like the code below nothing returns:
    SELECT FIELD1 FROM TABLE1 WHERE FIELD1 IS NULL
    But the field looks empty if I do a straight select without the where clause. Additionally, one of the fields has text but appears to be padded out with ASCII text, which I need to strip out before I can use this field in a where or join statement. I have tried using a trim, ltrim, rtrim, to_char, nvl, decode and nothing works. When I use excel to run the same query it looks as if these ASCII fields are boxes.
    I have asked our DBA team to see what they can do to prevent these from going into the table, but in the mean time I still need to run this report.
    Do you have any suggestions?

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • How to get key and text value of field "TNDRST" in VTTK from R/3 into BI

    There is one field call "TNDRST(Tender Status)" in SAP table VTTK in R/3. We can find  key value, but we are unable to find text for this field in VTTK. However we can see text value if we double click domain:TNDRST and go to value range.
    Questions, how to get key value and text of TNDRST together in BI. Do we need to create a master data source for TNDRST text information in R/3 and extracting into BI, if yes, how to? Are there any easy way to do it??
    Thanks,
    Sudree

    Hi Sudree,
    You need to create a generic Text Datasource to extract this information into BI System.
    1. Create a generic DS based on Table: DD07T
    2. The fields should be put in the extract structure.
              DOMNAME (Make this as Selection in the DS ) -
    Filter the Domain Name
              DOMVALUE_L -
    Key Value of Tender Status
              DDTEXT -
    Text / Description
              DDLANGUAGE -
    Language
    3. DD07T is the table with all the Domain names & their values, so in the Infopackage enter the Selection Value for DOMNAME as 'TNDRST' and then run it.
    Or you can create a view out of this table based on DOMNAME filter as 'TNDRST'.
    Regards,
    Chathia.

  • Logical Database Selection Text?

    We have a report (run from the report tree) that above the selection-screen window a field with a range, SAUFNR  is displayed. Someone tried to go into the Logical Database POH (SE36), selection texts were there was a '?' and changed it to 'Order Number'  and were able to save it. However, SAUFNR still displays and not the text.
    The main goal is to disply 'Order Number' for this field and not 'SAUFN'. It is an SAP prog with a name about a footbal field long.  It executed 'Orders by finished Schedule date'.
      Any suggestions?
                                    Thank-you.

    Hi Tom,
    Have you activated the selection text and also please check in translation part of the text elements .
    Hope this may help you.
    Regards,
    Kiran I

Maybe you are looking for

  • Import Falied in TEST Server

    I ried importing the SCA in the test server I got the following error :- ======================================================= Info:06/06/02 20:29:39 -  Start updating EAR file... Info:06/06/02 20:29:39 -  start-up mode is lazy Info:06/06/02 20:29:

  • Syncing Google Chrome Bookmarks to iPhone (/iPad)

    So, I've used Chrome long enough to realize that it lays the smack down on Safari in terms of memory handling.. and I'd really like to start using it as my primary browser. Just one problem: I can't sync my bookmarks from Chrome to iOS. Any solutions

  • Installing linux O.S. for working with IAS 10gR2 and DB11g

    Hi all. I have a Dell server with linux enterprise 5.5, but I want to re install all, reformat , because I need to learn how to. how decide which O.S install if I will use it with IAS 10g and Database 11g ? best regards

  • Instalation Problem - 10g - DHCP machine - Forms too slow if connected

    Just installed the latest release of Oracle Database and Developer Suite (10g) on a machine with cable connection to the Net, with DHCP. Followed the instructions regarding the installation of the Loopback Adapter. It was not possible to follow all t

  • Why my ibook does not appear in iTunes sync?

    I have made a book in iBooks Author, exported it as an iBook, dropped it inside iTunes. It appears under books but when I connect my iPad the same book does not appear in the Books section of stuff to sync with the iPad. All other books, including PD