Masking of the SSN in *-*-nnnn format (ex: *-*-6789)

Hello


I use JDeveloper 11.1.1.1.0 and I have a requirement like, must display the SSN in the nnn-nn-nnnn (ex: 123-45-6789) format when the user enter the value and have to hide like *-*-nnnn (ex: *-*-6789) once the user navigates to the next page or saves the page.

Please let me know the possible solutions to fill the need.

Thank you
Kiran

To implement the masking then a client-side converter will probably be the best approach - see the following article:

http://www.JRoller.com/mwessendorf/entry/ajax_client_side_convertion_with

Tags: Java

Similar Questions

  • Change the mask of the executing (Oracle forms 6i) date field format

    Hello

    I use Oracle forms 6i. I have a domain where I use to store dates. I need to change the format mask of this date the runtime field.
    Y at - it no set_item_property built in that I can use to achieve this?


    Kind regards
    Bet.

    Published by: 1009523 on June 3, 2013 11:11

    Part 2, help information on the Format mask item property; you will need to make sure that you set the property correctly.

    Sorry, I had to drill two answers but my first attempt surpassed the eligible characters in an answer ;-)

    Format Mask property
    Description
    
    Specifies the display format and input accepted for data in text items.
    Applies to  text item
    Set  Form Builder, programmatically
    
    Refer to Built-in
    
    n     GET_ITEM_PROPERTY
    n     SET_ITEM_PROPERTY
    
    Required/Optional  optional 
    
    Usage Notes
    
    Valid format masks for character strings, numbers and dates are described in the following tables.
    Character Strings
    The following table describes valid format masks for character strings. 
    
    Element     Example     Description
    FM     FMXX99     Fill mode:  accept string as typed, do not right justify.  Allows end user input string to be shorter than the format mask.
    X     XXXX     Any alphabetic, numeric, or special character.  End user input string must be exact length specified by format mask.
    9     9999     Numeric characters only.  End user input string must be exact length specified by format mask.
    A     AAAA     Alphabetic characters only.  End user input string must be exact length specified by format mask.
    Character String Examples
    
    Format Mask     Description
    XXAA     Will accept: --ab, abcd, 11ab; will not accept: --11, ab11, or ab--(must use XX to accept hyphens and other special characters).
    XXXX     Will accept any combination of alphabetic, numeric, or special characters: --ab, abcd, 11ab, --11, ab11, or ab--.  Will accept 1234 or abcd; will not accept 123 or abc.  (To accept input string shorter than mask, use FMXXXX.)
    FMXX99     Will accept ab12, ab1, ab followed by two spaces; will not accept 12ab or abcd.  (To produce the Form Builder Version 3.0 Alpha datatype, use FMAAAAAA.)
    n     To embed additional characters such as a hyphen (-) or a comma (,), surround the character with double-quotes (").
    n     Embedded characters are separate from text item values and are not collated along with text item values, even when the end user enters them. 
    
    NUMBERS
    
    The following table describes valid format masks for numbers.
    
    Element     Example     Description
    9     9999     Number of nines determines display width.  Any leading zeros will be displayed as blanks.
    0     0999     Display leading zeros.
    0     9990     Display zero value as zero, not blank.
    $     $9999     Prefix value with dollar sign.
    B     B9999     Display zero value as blank, not "0".
    MI     9999MI     Display "-" after a negative value.
    PR     9999PR     Display a negative value in .
    comma     9,999     Display a comma in this position.  For correct behavior in multilingual applications, substitute G to return the appropriate group (thousands) separator.
    period     99.99     Display a decimal point in this position. For correct behavior in multilingual applications, substitute D to return the appropriate decimal separator.
    E     9.999EEEE     Display in scientific notation (format must contain exactly four "E"s).
    FM      FM999     Fill mode: accept string as typed, do not right justify.
    n     When you mask a number with nines (9), Form Builder adds a space in front of the number to accommodate the plus (+) or minus (-) sign.  However, since the plus sign is not displayed, it appears as if Form Builder adds a space in front of the number.  (The minus sign is displayed.)
    n     To embed additional characters such as a hyphen (-) or a comma (,), surround the character with double-quotes (").
    n     Embedded characters are separate from text item values and are not collated along with text item values, even when the end user enters them. 
    
    NUMBER Examples
    
    Format Mask     Description
    FM099"-"99"-"9999     Displays the social security number as formatted, including hyphens, even if end user enters only nine digits.To create a Social Security column, create an 11-character column, set to fixed length, with a format mask of 099"-"99"-"9999.  This mask will accommodate Social Security numbers that begin with zero, accepting 012-34-5678 or 012345678 (both stored as 012345678).
    99999PR     Accepts -123; reformats as <123>.
    999MI     Accepts -678; reformats as 678-.
    9.999EEEE     Displays as 1.00E+20.
    How Forms handles length mismatches
    
    If a runtime user enters a numeric string that exceeds the format mask specification, the value will be rejected.  For example:
    
    Format Mask     User enters     Result
    99.9     321.0     Invalid
    99.9     21.01     Invalid
    99.9     21.1     21.1
    99.9     01.1     1.1
    In contrast, if a numeric value fetched from the database exceeds the format mask specification for its display field, the value is displayed, but truncated, with rounding, to fit the mask.  (The item itself within the Forms application retains its full value.)  For example, if the database held the value 2.0666, and the format mask was 99.9, the value displayed to the user would be 2.1.  However, the value of the item within the form would be the full 2.0666. 
    
    Dates
    
    The following table describes valid format masks for dates.
    
    Element     Description
    YYYY or SYYYY     4-digit year; "S" prefixes "BC" date with "-".
    YYY or YY or Y     Last 3, 2, or 1 digits of year.
    Y,YYY     Year with comma in this position.
    BC or AD     BC/AD indicator.
    B.C. or A.D.     BD/AD indicator with periods.
    RR     Defaults to correct century.  Deduces the century from a date entered by comparing the 2 digit year entered with the year and century to which the computer's internal clock is set.   Years 00-49 will be given the 21st century (the year 2000), and years from 50-99 will be given the 20th century (the year 1900).
    MM     Month (01-12; JAN = 01).
    MONTH     Name of month, padded with blanks to length of 9 characters.
    MON     Name of month, 3-letter abbreviation.
    DDD     Day of year (1-366).
    DD     Day of month (1-31).
    D     Day of week (1-7; Sunday=1).
    DAY     Name of day, padded with blanks to length of 9 characters.
    DY     Name of day, 3-letter abbreviation.
    J     Julian day; the number of days since January 1, 4712 BC.
    AM or PM     Meridian indicator.
    A.M. or P.M.     Meridian indicator with periods.
    HH or HH12     Hour of day (1-12).
    HH24     Hour of day (0-23).
    MI     Minute (0-59).
    SS     Second (0-59).
    SSSSS     Seconds past midnight (0-86399).
    /. , .     Punctuation is reproduced in the result.
    "..."     Quoted string is reproduced in the result.
    FM     Fill mode: assumes implied characters such as O or space; displays significant characters left justified.  Allows end user input to be shorter than the format mask.  (Use in conjunction with FX to require specific delimiters.)
    FX     All date literals must match the format mask exactly, including delimiters.
    n     When you prefix a date mask with FX, the end user must enter the date exactly as you define the mask, including the specified delimiters:  
    
    Date Examples
    
    Format Mask     Description
    FXDD-MON-YY     Will accept 12-JAN-94, but will not accept 12.JAN.94 or 12/JAN/94 because the delimiters do not match the mask. Will not accept 12JAN94 because there are no delimiters.  Will accept 01-JAN-94 but will not accept 1-JAN-94.
    FMDD-MON-YY     Will accept 01-JAN-94.  Will also accept the entry of other delimiters, for example 01/JAN/94 and 01 JAN 94.  However, will not accept 01JAN94.  Will accept 1-JAN-94, converting it to 01-JAN-94.
    DD-MON-YY     Will accept 12.JAN.94, 12/JAN/94 or 12-JAN-94. Note: Any delimiter characters will be accepted, but if delimiters are omitted by the end user, this mask will interpret date characters as a delimiters.  Will accept 12-JAN94, (but will erroneously interpret as 12-JAN-04); but will not accept 12JAN94, because "AN" is not a valid month name.
    n     Use of a format mask only affects how the data looks.  Form Builder stores full precision, regardless of how the data is presented.
    n     Embedded characters are separate from text item values and are not collated along with text item values, even when the end user enters them.
    n     To embed additional characters such as a hyphen (-) or a comma (,), surround the character with double-quotes (").  Note, however, that double-quotes themselves cannot be used as a character.  In other words, trying to achieve output of DD"MM by specifying a mask of DD"""MM would not work.
    
    Format Mask     Description
    FMMONTH" "DD", "YYYY     Displays the text item data in the specified date format: JANUARY 12, 1994, including the appropriate blank spaces and comma.
    FMDD-MONTH-YYYY     Displays as 12-JANUARY-1994.
    DY-DDD-YYYY     Displays as WED-012-1994.  Note: for input validation including day of the week, a mask that allows specific determination of the day is required, such as this example or DY-DD-MM-YY.
    n     When you use day of the week formats, be sure that the data  includes day of the week information.  To avoid illogical masks, display also either the day of the year (1-366) or the month in some format. 
    
    Format Mask     Description
    DD-MONTH-YYYY     Displays as 12-JANUARY-1994.
    DY-DDD-YYYY     Displays as WED-012-1994.
    DY-DD-MON-YY     Displays as WED-12-JAN-94.  Be sure to include month.  Avoid masks such as DY-DD-YY, which could generate an error.
    NLS Format Masks
    
    The following table describes valid National Language Support (NLS) format masks.
    
    Element     Example     Description
    C     C999     Returns the international currency  symbol.
    L     L9999     Returns the local currency  symbol.
    D     99D99     Returns the decimal separator.
    G     9G999     Returns the group (thousands) separator.
    comma     9,999     Displays a comma in this position.
    period     9.999     Displays a decimal point in this position. Displays a decimal point in this position.
    NLS Format Mask Examples
    
    Format Mask     Description
    L99G999D99     Displays the local currency symbol, group, and decimal separators:  if NLS_LANG=American, this item displays as $1,600.00; if NLS_LANG=Norwegian, this item displays as Kr.1.600,00.
    C99G999D99     Displays the appropriate international currency symbol: if NLS_LANG=American, this item displays as USD1,600.00; if NLS_LANG=French, this item displays as FRF1.600,00. 
    

    Craig...

  • Anyone who works with the CAF (Caltech intermediate Format) files in LabVIEW?

    Hey everybody,

    Anyone who works with the CAF (Caltech intermediate Format) files? These are files that are generated by IC layout programs, such as TannerEDA L-Edit, that define the layers and arrangement of the masks used in VLSI (Photolithography) of processing semiconductor device.

    I would like to analyse these CIF files to generate a map of wafer of devices for use in the-plate test. Currently, a plan of shooting is made and then I manually switch and define coordinates of line and column for the edge of a plate and various places of drop-in. I would like to automate this process, and I don't know if it is possible by playback of these files from the CAF. However, I don't really know how to read them, and I can get as much information from the Wikipedia page and the original article.

    So I ask: anyone has an easier set of screws that make reading CIF file? Or someone working with them can help me with my problem? I can describe it in much better detail once someone comes...

    Here is one of my notebooks CIF of Mathematica (remove the .txt extension obviously).  I used it to create a new CIF file with four instances of the object in a file.

    You can load a file with the following text:

    symName = loadCIF;

    You can see the layers:

    CIFlayers [symName]

    You can view layers:

    Show [{viewCIFlayer [symName, #, color of layer]}]

    (if you wish, add multiple layers to the list)

    If you have a file of type CIF I can also test to see that it recognizes the objects you use, I am generally to polygons and boxes.

  • Download the video in MPG format to iCloud photo library

    Is it possible to download a video file, MPG to a Mac to iCloud photo library?

    I stopped using iCloud photo library on the Mac due to low disk space, however I always use iCloud photo library on other devices and would like to have the video available here. I tried to use the web interface to iCloud by using Safari, but I get a message that the format is not supported

    I guess I could convert the file in another format, however, I do not want 3rd party applications on my Mac, and I worry about compromising video quality. Is the other way to do this? Could using Photos (1.5) on the Mac and the activation of my photo stream get the video to appear in the photo library of iCloud?

    As we told you MPG is not a format alternative for ICPL

    Types of files that you can use with iCloud photo library

    Your photos and videos are stored in iCloud, exactly as you took them. All your images are in their original format in full resolution, JPEG, RAW, PNG, GIF, TIFF, and MP4, as well as special formats capture you with your iPhone, like slo - mo, Time lapse video 4K and Live Photos.

    iCloud photo library - Apple Support

    LN

  • All of my received emails suddenly changed to the 'Source of the Message' (no HTML) format. How to change their return?

    All of my emails has suddenly changed format in the 'Source of the Message' (no HTML) format. Upcoming new suddenly is back in HTML. Is it possible to convert the received messages to HTML?
    Example of one of them-

    Of the - Thu Feb 19 13:12:54 2015
    X key account: account 1
    X-UIDL: 0MFJMQ-1YIimi1UiS-00ETqm
    X-Mozilla-Status: 0001
    X-Mozilla-Status2: 00000000
    X-Mozilla-keys:
    Return-Path: bounce-857_HTML-206598685-987434-260085-83038@bounce.global.expediamail.com
    Received: from mta.quotitmail.com ([66.231.85.77]) by mx.perfora.net

    (mxeueus001) with ESMTPS (Nemesis) id 0MFJMQ-1YIimi1UiS-00ETqm for
    <[email protected]>; Thu, 19 Feb 2015 01:35:36 +0100
    

    DKIM signature: v = 1; a = rsa-sha1; c = relaxed/relaxed; s = 200608; d =expediamail.com;

    h=From:To:Subject:Date:MIME-Version:Reply-To:Message-ID:Content-Type:Content-Transfer-Encoding; [email protected];
    bh=fNo3DAi3AhVqqOOcWiTDUbWFywc=;
    b=N429V9jQXRGv6C7+5HaLPGqlcgG/TcpFOhv0/Qb8NzGYhs0ZsvLsSmpmxyKD/mdaFhGePrNUpaAP
      +jen5myxsUX3lbr064O2a21h66NUjMHB785XH0FEV6JKm3QdW1u+KHz0szgaxy1CtUSZQk3gjlP1
      MOo6DXu7PV0u0oEd77Q=
    

    Thank you

    Right click on the folder, select Properties, and then on the button repair.

    Be sure to create an exception in your anti-virus analyzes the Thunderbird profile folder.

  • How can I adjust the settings of Firefox to display the content in a format widescreen?

    How can I adjust the settings of Firefox to display the content in a format widescreen?

    You mean zoom? If so, check the module NoSquint .

  • I want to use the recovery to any format CD

    I am currently using Windows Vista and I want to use the recovery to any format CD.
    I don't want anything that has been preinstalled to be more on my HARD drive.
    Should what options I use when you use the CD and it will reinstall Windows?

    If your recovery CD contains the Vista operating system then the installation procedure is very easy.
    You need to boot from the Toshiba Recovery CD and follow the instructions on the screen. Installation would format the drive HARD integer (clear partitions too) and would install Vista, driver, tools, tools and software on the laptop.

    Simply said, you will get factory settings books ;)

  • Bad Partition on external hard drive: format the bad Partition or format the entire disk?

    I am confused how to proceed.

    I have an external hard drive 3 TB with partitions (3). One of the parititons cannot be verified. I saved the partition and tried to repair disk. Repair disk failed and invited me to reformat the hard drive.

    How can I reformat the partition without affecting other partitions (2) good bad?

    Or do I have to save all the external drive (all 3 partitions) and then to reformat all the external drive?

    Thank you

    Retina 5 k

    10.10.5 OS

    32 GB of Ram

    Back up the entire disc (as a precaution), select the partition in disk utility, click on the tab erase or Format and erase it.

    (140323)

  • The recovery DVDs Vista formats the whole HARD drive

    Hello

    I have a Toshibe laptop with 2 hard drives.

    My Question is:
    When I use the recovery, is that they are all deletet hard drive or only the Windows Partition?

    Yes, the Toshiba Recovery disk format the whole HARD drive; also all created partitions.
    Simply said; the recovery disk redefine the laptop on the first day of the purchase.

    Welcome them

  • After you download El Capitan, I received the following error message when you try to install: the drive is not formatted in MAC OS extended (journaled). Use disk utility to enable logging or reformat the disc. Can anyone help?

    After you download El Capitan, I received the following error message when you try to install: the drive is not formatted in MAC OS extended (journaled). Use disk utility to enable logging or reformat the disc. Can anyone help? (My disk utility shows that she in MAC OS extended (journaled) format.)

    It shows that it is Mac OS extended, not journaled. Click enable logging in the toolbar.

    The thing you read is if you format the drive using the RAID settings you have selected. You have to look at the bottom of the window where it shows the Format.

  • "print" command in Mathscript recording is not the plots in BMP format!

    Hi guys,.

    I am creating a vi that automatically generates a pdf for my project report. I found a way to record the report directly in pdf format (in other words, I have 'print' my report to a (PDFCreator) Virtual PDF printer that saves the file in a specific folder with the date/time under his name.) "So, this was the first step to make the automatic procedure).

    I'm stuck in the next step, which is adding to the report no graphics bad appearance of labview, but the plots of the victims of the Mathscript.

    Yes, after you have added as input 'a' my data to the mathscript node, I use the following commands:

    Figure

    Plot (a)

    print the image

    Now, what is this sequence is to do a beautiful land of my data and then save it as "image.eps" in the default folder.

    However, the eps format is not at all useful to me because I can't import the plot with the 'Add Image to Report.vi '. This vi supports the formats BMP, GIF, WMF, EMF and JPG only.

    So, I want to save as BMP mathscript plot. It's supposed to be possible, but I have not been able to find a way. Using the command 'Print' for Labview Mathscript 2011 reads as follows:

    http://zone.NI.com/reference/en-XX/help/373123B-01/lvtextmath/msfunc_print/

    Syntax


    print

    Print (a)

    Print (file)

    printing (, file)

    Description


    Print the trace window, or save it in a file in BMP or EPS format. If the trace to save window is a plot of the image or a 3D terrain, the file must be in BMP format. Other types of plots, formats BMP and EPS are supported.

    There is no way for me to choose what format I want, and it automatically selects the eps. If I use the command

    print image.bmp

    It gives me an error. So adding the endpoint .bmp is not the way to go.

    Overall, it is essential for me to export the plot in BMP format (in order to import it into the generation of report), but I can't find a way, althouth it is supposed to work.

    Any ideas?

    Thank you

    PS. I run Labview 2011 SP1

    Hello

    You must use the following command

    Print ('test.bmp')

    Instead of

    print test.bmp

  • Inappropriate, needless use of the SSN on motorcycle Maker

    I was ready to buy a new Moto X after finding that I could now use motorcycle Maker to get a customized version of 32 GB for Verizon Wireless. While checking, credit card in hand, the site asked my social security number and permit number drive. What? !! I had already done for the website of the manufacturer of motorcycle of Verizon Wireless and I could see that my Verizon Wireless account number has been in the URL of what it does to the manufacturer of motorcycle, motorcycle Maker already knew my account with Verizon Wireless. That's all what it takes to identify with VW; all you need is my account number. There is no connection with the IRS or statement, so use of the SSN any which in this case is inappropriate, even if it is safe. At that point, I gave up buying in disappointment. No one should ever have to provide their SSN for any reason other than tax problems. If you want to identify with VW, ask me my account number with them and even my VW, but not my SSN password. I spoke to VW on the phone and they seemed surprised and suggested I talk to Motorola. Motorola were initially just say "This is how the site works", so I asked to speak to a Manager, because that's the problem: the site should not work this way, it is a design bug. I would love to own a Moto X and I was ready to buy one as soon as this problem is solved.


  • Direct e-mail does not include the "name &#60; e-addrɬ" format of e-mail address if the e-addr is not already in the list of contacts

    After entering the Ctrl-F to save the project email all in composition, if the recipients in the To: / Cc: / Bcc: fields are not already in the list of contacts, the live tool Email would remove the of "name " format, causes the email undeliverable due to unknown recipients. BTW, is there a way to set Live automatic email saves the recipient from the list of contacts if the ' name ; ' e-address format are used to: field?

    See: a question of Hotmail or Windows Live Mail?
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-networking/have-a-Windows-Live-Mail-or-Hotmail-question/8bd31c48-d1a7-49D6-a08c-9069aaeba2e5

  • Good afternoon__I have lost my installation CD. I have a correct key at the back of my PC. How can I get an another installation CD? ___I trying to reinstall my operating system. The PC is already formatted. ___Thank you in advance. __ANPW__

    Good afternoon

    I lost my installation CD. I have a correct key at the back of my PC. How can I get an another installation CD?

    I'm trying to reinstall my operating system.  The PC is already formatted.

    Thank you in advance.

    ANPW

    How to replace Microsoft software

    Carey Frisch

  • computer crashed, used the backup to restore, formated instead and charged in the State of origin. any chance to recover photos lost at this stage?

    computer crashed, used the backup to restore, formated instead and charged to the State of origin, no chance to recover lost photos at this stage?

    Hello

    It is a good free program to recover data. but no guarantee.

    http://www.Piriform.com/Recuva

    You may need to contact the data recovery specialists, who are very expensive.

    See you soon.

    p.s., You use your computer, the less chance you have of data recovery.

Maybe you are looking for