[REQUEST] Automatically display the number with the format mask

Hi Expert,

I use Jdeveloper 11.1.1.6.0.

I have a problem to display the input text that automatically uses the format mask user input, as for example the entered user 10000 then the field will automatically display of 10,000

Is this possible to do?


I already find but I just had to format mask that the user must input 10 000 not automatically display in format.


Please your advice, really appreciate your help.


Thank you

I already find but I just had to format mask that the user must input 10 000 not automatically display in format.

Can you describe your use case a little more?

The format is applied only when the focus is moved out of the field.

You want to display the groups directly separator when the user inserts the value in the field?

In this case, you will need to use javascript, and format the entry after each character. This technique is described in the blog of Frank https://blogs.oracle.com/jdevotnharvest/entry/get_social_security_numbers_right

Timo

Tags: Java

Similar Questions

  • Download Apex 4.2 - blob in report with the Format mask

    Hello

    I need a little help.

    I have a report like this:

    SELECT id, file_name, dbms_lob.getlength (blob_content)

    of blob_docs;

    The column with the dbms_lob, is defined by the format mask, as a download link, saving up the BLOB to the user of the computer.

    My problem is a bit silly, I don't want to see 'Download', but the file name of each record, such as the 'link text'... but I can't seem to achieve this goal.

    My format mask looks like:

    DOWNLOAD: BLOB_DOCS:BLOB_CONTENT:ID:MIMETYPE:FILE_NAME:LAST_UPDATE:CHARSET:Attachment: download

    I tried to use #FILE_NAME # in the field 'Text download', since it is one of the column names, but nothing helped.

    Also used & FILE_NAME. but obviously does not work and gets the text "Download".

    All I want is a report that looks like

    File1

    File2

    File3

    Instead of

    Download file1

    Download File2

    Download file3

    Does anyone know how to get there?

    Thank you!!

    jaydarp wrote:

    I need a little help.

    I have a report like this:

    SELECT id, file_name, dbms_lob.getlength (blob_content)

    of blob_docs;

    The column with the dbms_lob, is defined by the format mask, as a download link, saving up the BLOB to the user of the computer.

    My problem is a bit silly, I don't want to see 'Download', but the file name of each record, such as the 'link text'... but I can't seem to achieve this goal.

    My format mask looks like:

    DOWNLOAD: BLOB_DOCS:BLOB_CONTENT:ID:MIMETYPE:FILE_NAME:LAST_UPDATE:CHARSET:Attachment: download

    I tried to use #FILE_NAME # in the field 'Text download', since it is one of the column names, but nothing helped.

    Also used & FILE_NAME. but obviously does not work and gets the text "Download".

    All I want is a report that looks like

    File1

    File2

    File3

    Instead of

    Download of file1

    Download File2

    File3 download

    Unfortunately (and annoying), it doesn't seem possible to do using the declarative format BLOB mask. Instead, a personalized download link should be generated in the report query using the apex_util.get_blob_file_src method of the API.

  • Best way to apply the Format mask for the fields in a Table of the ADF

    Hi all

    12.1.3 JDev

    I would like to introduce the price data, quantity etc. fields of the ADF Table of the user interface in a specific format.

    These formats need to be dynamic, because they change according to the locale selected and sometimes they differ in the same locale.

    I tried approach converter custom but not satisfied because it is called several times when it is used in a table of the ADF and when asked that told me that this is the behavior.

    Custom converter of an attribute in a table called several times

    So, please suggest a better way to apply the format mask (which has min & max fractions, grouping, rounding) to the fields in the Table of the ADF.

    Please let me know if you need more information.

    Thank you

    B S Bilodeau.

    The second question, which I've mentioned here is the converter is called several times for each click on the table.

    This isn't a problem, this is the expected behavior (and you can't avoid it).

    Dario

  • Display the format US phone number - best practices

    JDeveloper 12.1.3

    -Telephone table has field VARCHAR2 with phone numbers. All records have exactly 10 numbers (characters) length

    -In the user interface, I want to show number xxx-xxx-xxxx, that is to say with af:outputText or similar device

    -observe that I am looking for display, and no to entry/edit phone number

    -in search of best practices

    What I did but am not satisfied:

    -In the t 3 has created a transitional attributes with the default SQL string. For example:

    Phone1To3: substr (Phones.Phone, 1, 3)

    Phone4To6: substr (Phones.Phone, 4, 3)

    Phone7To10: substr (Phones.Phone, 7, 4)

    Then in file jsff (the table component):

    <af:outputText value="#{row.Phone1To3}-#{row.Phone4To6}-#{row.Phone7To10}" shortDesc="#{bindings.Phones.hints.Phone.tooltip}" id="ot2222"/>
    

    Another way (better, easier)?

    In my view, that the best practice is to do your own converter in this case you will not need transitional attributes as you did. After doing a converter, you can add this converter inside outputText inputText. .. to display the required format

    To find out how a converter, you can check this url

    Sameh Nassar: Create custom converter

  • Windows Explorer - right column to automatically display the left folder?

    Simple question for Windows Explorer: is it possible for Win7 64 bit to display in the column on the right immediately which is highlighted in the left column?  (Like most of the any Manager files on the planet!)  I guess they try to minimize the work that the program does stuff that shows only the user didn't need.  When the user arrives at its destination they press enter or space to display the content.  I understand your point and minimize the workload for the program.  Stupid of course in real life, is not an option.  As usual, Microsoft, like most software companies think people want to think for them.  Not the case.  Unless of course I missed the 'show content immediately' option somewhere.  Its got to a point where you cannot assume a sense of almost any software company.  They all try to think for you, you Lasso in their way of doing things.  Guess it helps in the Department of bugs, but makes for very unhappy and frustrated users.  Or if you are a fool, do you think that the system is perfect, because it assumes that all your decisions for you.  Society is reflected in many ways in the design of software.  Doesn't look like good people.  People seem to become lazier and lazier or they become busier and busier and can not do even the simplest decisions.

    He agreed with the request of the customer.  Visitors don't like the record, in that they were to change until they had highlighted that they really wanted to enter.  It was particularly embarrassing when put customers highlight a network location that takes several minutes to connect or charge (heaven help you if this was a corporate backup tape location).    It was also a common complaint that it was incompatible (derivative of something is not supposed to cause an action occurs in a part any system: only by clicking or by selecting with button enter should).

    Changes based on direct feedback from customers on Windows 7, this is what makes Windows 7 "designed by the people."  If you don't like the decisions, please provide your feedback so that your thoughts can be heard in the development of future versions.
  • Apex number field. Format mask. Customize the message.

    DB 11g

    Apex 4.2

    Theme 25

    I have some number with format 999G999G999G999G990D00 mask fields. For example a field as 'special delivery '.

    It works very well. But if I get a few alphabetic characters, it gives the error message "Special Delivery Charge does not match the 999G999G999G999G990D00 of format number (example: 1,251.49). .

    Is it possible to customize this message.

    Thank you.

    Or the most elegant way to keep the number format and just 'translate' the exact text message in shared components - SMS - create a new one with the name of: APEX. NUMBER_FIELD. VALUE_INVALID2

    See: the globalization of demand management

    Thank you.

  • BlackBerry smartphones help a beginner! my "BOLD" will automatically display the new messages

    I am a complete newbie when it comes to bb. I had mine for a week now.

    anyway. Whenever my "BOLD" out of sleep and if I have a new message (if sound of bb Messenger, text, mms or email) automatically, it opens and displays the message.

    How to stop this? I'm not all messages opening unless I chose to open it.

    pls help!

    Thank you

    Jamie

    and I've been reading around... I found some info on the crackberry Forum... and it seems that the "BOLD" was designed in this way to open messages auto of when you take it out of the case as soon as the message comes in. but I FOUND THE ANSWER! Woo-Hoo all that you have to wait! Wait a few minutes after your notification of message turns off THEN go out of the Holster. and vuala! no open message.

  • Default value in the item with the format mask DATE: DD-MON-RRRR HH:MIPM

    Dear all,

    I created OF type date DATE and mask game format: DD-MON-RRRR HH:MIPM

    and need to display the default code:

    declare

    v_start timestamp;

    Start

    BEGIN

    Select FROM_DATE IN v_start of TOUR_MAS

    where id =: P67_ID

    EXCEPTION WHEN OTHERS THEN

    v_start: = SYSDATE;

    END;

    RETURN v_start;

    END;

    But value display the DATE element is "11.02.00.000000 may 20, 15 h.

    In the table FOLLOWING is the timestamp.

    How to display the query result of default in the format ""HH:MIPM DD-MON-RRRR ". "

    How can I do that.

    Thank you

    Hi Maxence,

    Try this:

    DECLARE
    
      V_START VARCHAR2(64);
    
    BEGIN
    
      BEGIN
        SELECT TO_CHAR(FROM_DATE,'DD-MON-RRRR HH:MI PM')
          INTO V_START
          FROM TOUR_MAS
         WHERE ID =:P67_ID;
      EXCEPTION WHEN OTHERS THEN
        V_START:=TO_CHAR(SYSDATE,'DD-MON-RRRR HH:MI PM');
      END;
    
      RETURN V_START;
    
    END;
    

    Kind regards

    Kiran

  • Automatically display the Navigation pane on the subject of url references?

    Hello

    I hope that this question will not be too much of an annoyance. I try to have the navigation pane to show automatically when the subject reference users by their specific URL. Instead of having the link display in the upper left corner, he'S trying to automatically have the show in navigation pane. In addition, it would be sufficient if the user clicks on an item in the navigation pane the webhelp will only display two aspects of navigation. I can't use the aternating? # and? # because I don't know how users will click on the links. I think writign a javascript that checks t Hosea if navigation is in place or not and if not, see navigation.

    Thank you for your time.

    Hello

    See http://www.wvanweelden.eu/robohelp/webhelp/skinwebhelp/alwaysshownavigation. I think that's what you're looking for.

    Take a bow

    Willam

  • Display a number with a decimal other que.00

    I have a question I want the result to display a number any that is not equal to, 00. For example, it returns 4.50 and 10 h 00. I want to see all that are not equal to, 00 only. So in this case it would return only 4.50. If it helps any amount of unit is my total inventory and the quantity of cases are the number of units per carton. I'm identification and partial cases.

    Here are the current instruction, but I don't know how to change this option to return the results I want.

    Inventory. «Unit Qty ' / inventory.» ' "Case Qty.

    Try this:

    For simplicity, is that your first column a B be your second column.

    (1) in your workspace, get another column and click the fx button.

    (2) type this:

    A / B - TRUNCATION (A/B, 0)

    (3) now, filter on this column, select the operand "not equal to/no in" and set it to 0.

    This will give you all lines that do not have 0 as the rest of the quotient A/b.

  • validation of digital data with a format mask

    Hello

    I have the following situation:

    field 'Amount' COMP (11.0) in a table.
    a form for this amount with a p8_amount parameter and a format mask. for example 1234 becomes 1,234.

    I entered a large amount of data.

    Now, I want to build a validation.
    But I get an error of conversion (character number) takes the apex the field amount 1234 makes 1.234
    and that's why I no longer use to_number (causing the conversion error).

    How to convert the parameter to a number?

    Any response will be appreciated.

    Thanks in advance.

    Leoa

    Hello

    TO_NUMBER (String) may have problems if there is non-numeric characters, however, you can apply a format string so that it can be used in the conversion:

    TO_NUMBER(string, '9G999')
    

    Andy

  • 8.1 - win with bing IE opens very well and the picture shows. With firefox dwnldd with jayelbe's (?) link for bing image 8.1 is displayed. the format is garbaled model in IE

    Just received 8.1 and downloaded Firefox to 8.1 for Jayelbe link in the FAQ. no change in the view of web pages. Bing loads slowly and does not show the picture of the day. appears in the picture at the bottom of the page scrolling. Even Yahoo is weird. There are lines between each email in the Inbox and formatting has disappeared. all this works fine in IE.

    I think it is down to your suggestion that I check the choice of colors. Everything seemed in order. For some reason, I outweighs the choice of colors auto and when I changed the setting never override the system - everything worked! Now, I have to set something to get a little view of crisper. Letters seem a little washed out. Thanks for the comments.

  • Automatically display the user information

    So I'm working on this website of the school project, it's a pretty simple site in Dreamweaver. I created a log in the site and I use MM_Username to show the connected to the user. How can I go to show information of the user (name, first name, telephone number etc.) on a wall that they display all sorts of different things in (to sell, animals lost, happening, etc.

    Thanks in advance!

    With queries SQL table names & field desired database.

    I hope that you do not use the obsolete Server & database for this panels.

    Nancy O.

  • Detailed WebApp {tag_description} does not display the formatted HTML input

    Layout of Web App detail {tag_description} does not display formatting HTML entered in the content of the element.  How to view with jumps of paragraph etc.?

    Liam,

    It turns out that the details of the page has a

    pair of tag around the {tag_description} that is casuing the problem.

    Thanks for your help.

    See you soon

    ROX

  • automatically detect the format of delivery

    format of delivery automatic detection is not introduced to HTML format, when a picture/photo is pasted in the body of the email

    problem was present in a first version of TB (sry can't remember which) then was fixed, but has reappeared on 38.4.0 (don't know if he started this version, just realised 38.4.0 has this problem again)

    If delivery format HTML option so it works (pasted image is sent)

    See the attached screenshots

    OK, I see the problem now,

    sound in the Send Options, he defined the message convert to text format if TB is not able recipients of HTML (mine are all set to unknown) so he removed all the updated html in shape including images... grrrrr!

Maybe you are looking for

  • Upgraded to Win7 now the touchscreen does not work!

    I recently had to send my TX2604ca in a replacement for the fans. Shortly after he come back that I switched to Win7 x 64. Since the upgrade, I can't touch the screen more. The pen still works, so I know that the material is fine, but no finger touch

  • Satellite L300 PSLBOA - no audio output device is installed

    Hey guys,. I need to reinstall all the audio devices on my Toshiba Satellite L300 laptop.This site Web (free/real) should I go to reinstall them all back... I had the Realtek audio devices. I need ALL the features back! Does anyone know the exact/own

  • Linked ID's

    In the last 24 hours, I was not able to use the feature ID linked to Hotmail.  I get an error message indicating that the feature is currently unavailable, please try again later.   Normally I can access each of my linked in one click email addresses

  • Behind another door of entry RLV200

    I have a RLV200 and a WRT300N.  Had the 300N for a while now, and it's been solid as a rock running.  I decided that I wanted to use the 200 hung first SSL vpn functionality and basically set my 300n to be just an AP.  Thought this might work.   Well

  • Bluetooth disabled in startup mode

    Unable to start bluetooth on my computer laptop gateway. says that it is disabled in system information. do not know how to activate it