How to add comma and dollar sign that places automatically in input text field

I have this ROI calculator which has several text input field
on frame one with calculate and reset buttons. When a user enters
numerical values in the text field, and jumping to the next field,
I want the input text filed be updated with dollar sign and with
comma.
Next when they hit "ENTER" key or click "Calculate ROI"
button, all the input text fields on frame 2 as a result of
calculations be updated with dollar sign and comma. I also need
that once the comma sign is assigned then it would not add any more
even if user presses the button. Can someone help me in
this?

If you want to Set the Comma when you Switch to next Text
Field
Use onKillFocus / onSetFocus Functions.
to restrict multiple comma, Before Adding comma use
myText.text =
myText.text.split(",").join("").split("$").join("");
So this will give you the value without Comma and Dollar
symbol, Now add the Comma and dollar.
or you need to use a Flag for onChange Event.

Similar Messages

  • Format numbers with commas and dollar signs

    I've searched documentation and I do not see how to add a $ (dollar sign) to a number and how to add a comma after 3 digits.
    for example  $32,000.00
    Thanks in advance

    Hello ..
    In PLD is this possible, but also about the issue of setting up your database. If you set the currency as $ Dollar then you will see it as such in print. The same with the insert.
    If the dollar had another name, then you can concatenate a text field indicating $ with a formula field to extract the coin value you wish to view.
    Hope this helps
    Yours sincerely,

  • How to add Comma and Tabs in Calc Script Header

    Hi,
    I need to add in the begging of the report script the following lines:
    PNL
    OPENB
    1/31/2020
    12
    R,N,Y
    5     6     7     2     3     1     I     C     8     9     A     D     V     V     V     V     V     V     V     V     V     V     V     V
    The last line is tab delimited.
    The problem is that the TEXT formula ignores commas and tab, so I can't create the last 2 lines.
    Please help,
    Rami

    Hi,
    R,N,Y
    5     6     7     2     3     1     I     C     8     9     A     D     V     V     V     V     V     V     V     V     V     V     V     V
    The last line is tab delimited.Whether these are the members? Please can you let us know what you are trying.
    Thanks

  • Funtion Module: SO_NEW_DOCUMENT_ATT_SEND_API1-How to add TO and CC email id

    In the Funtion Module: SO_NEW_DOCUMENT_ATT_SEND_API1- How to add TO and CC email ids?
    In the TABLE parameter RECEIVERS, there is field RECEIVER where we pass email ids and field COPY which should be 'X'.
    But my concern is how will it distinguish that which email ids should be in TO and which should b in CC?
    Kindly help. Thanks in advance.
    Thanks & Regards,
    Anindita Ghosh

    Hello Anindita,
    Say you need to send mail to 2 receivers and the 1st one is TO and the second is CC.
    Just create 2 entries in the internal table of type SOMLRECI1.
    wa_receiver-receiver = <email id of TO>
    wa_receiver-express = 'X'.
    wa_receiver-rec_type = 'U'   (if sending to an external internet id - yahoo,gmail etc)
    append wa_receiver to it_receiver.
    clear wa_receiver.
    wa_receiver-receiver = <email id of CC>
    wa_receiver-express = 'X'.
    wa_receiver-rec_type = 'U'   (if sending to an external internet id - yahoo,gmail etc)
    wa_receiver-copy = 'X'.
    append wa_receiver to it_receiver.
    clear wa_receiver.
    Hope this helps
    Regards
    Sachin

  • How can i change the dollar sign in to euro in the invoice template ( iPad)

    How can i change the dollar sign in to euro in the invoice template ( iPad) ?

    Hi,
    Touch the cell you want to change the currency in to select it. Touch the info button on the top right part of the screen (i). Select the format tab, then currency. Touch the blue dot on the right of the currency line and then choose your currency

  • How to add MenuBar and MenuItems in JSP Form

    Help Me,
    Dear Forum,
    I am user of jDeveloper 10g working on JSP (Web Module).So How to add MenuBar and Menu Item, in Our jsp Form.What this type control exist?
    regards
    javed khan

    You should do this instead:
    iframe.setJMenuBar(i_menuBar);

  • How to add ParallelElement and  SerialElement in strobe Player

    hey frnd,
    i'm showing rtmp video from loud api to user and want to add some ads with list of mp3s.
    I'm using strobe player but not getting idea to do this .
    How can we send more parameters to strobe like xmllist or How to add ParallelElement and  SerialElement in strobe Player.
    thx in advanced,

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • How to add zooming and printing in e-magazine created by indesign?

    Could you please give ma an advise me how to add zooming and printing in e-magazine created by indesign? Many thanks

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • How to add depreciation and interest in product costing?

    how to add depreciation and interest in standard cost estimate and actual costing in product costing ?

    Hi,
    WHy the admin and sales overhead will be deited to cost of product. The cost of product should include only the factory related direct cost and overhead cost .. not the sales and admin ovehead. exp. for those treat them as period expense and pass on the same to COPa and there those can be analysed there..
    I hope i am clear..
    Regards
    Prabhat

  • HT2486 want to know how to add pictures to address book that DO NOT appear as fullscreen images on the iPhone but remain as icons with the iPhone background visible

    want to know how to add pictures to address book that DO NOT appear as fullscreen images on the iPhone but remain as icons with the iPhone background visible (see attached image). for some reason, all new contacts added through Mountain Lion appear as fullscreen caller ID images.

    This would be better addressed in the iPhone forum, I would post there as well.

  • I have word, iTunes, and other application that starts automatically when I start my laptop and how can i change start up options?

    I have word, iTunes, and other application that starts automatically when I start my laptop and how can i change start up options?

    Go to System Preferences / Accounts - Login Items.
    In order to make changes, click the lock icon bottom left corner of the pane. You may be prompted for your admin password.
    Select the apps you don't want to launch on startup then click - (minus).

  • How to type comma "," and question "?" without going to "123" sub menu?

    How to type comma "," and question "?" without going to "123" sub menu?

    I use Comma and question mark frequently at text messaging, email.....using my iPhone 4.
    Apparently, there's no short cut for this and I request Apple Support to create a shortcut for "," and "?' so there the Apple device can be more user friendly.
    Jackson

  • How can I open and edit files that were developed and published by ftp to my host on my old macbook, which I can no longer access.

    How can I open and edit files that were developed and published via ftp to my host on my old macbook, which I can no longer access. The HD containing the files cannot be accessed. I want to be able to download the published files to be edited in iweb?

    You CAN'T download published files and then edit them in iWeb because iWeb can't open them - it has no import facility so is unable to open any html or css files - a previously published site.
    You can download these files yes, but you'll need to use them as a guide or to cut and paste text from there whilst you re-build your site in iWeb.
    The only other way is to download the files and then open them with an html editor such as TextWrangler or use one of the other web design programmes out there that is capable of importing html and css such as Dreamweaver of Flux 4.
    These are your only alternatives as iWeb can't import and if you want to continue to use iWeb, then you'll have to re-build your site from scratch.  If you do just remember to back up your domain.sites file this time around - it is found under your User/Library/Applicaion Support/iWeb/domain.sites.

  • HT1420 how do i unsynch my ipods and iphones so that ipods dont get my texts with my wife's iphone?

    how do i unsynch my ipods and iphones so that ipods dont get my texts with my wife's iphone?

    Stop using the same Apple ID on multiple devices for iMessage.

  • I had to restore my iPhone 4 and now all my pictures are gone. I don't have them backed up to my laptop, and I thought that they automatically backed up to iCloud but I'm not sure. I had a lot of pictures that i desperately want to get back PLEASE HELP

    I had to restore my iPhone 4 and now all my pictures are gone. I don't have them backed up to my laptop, and I thought that they automatically backed up to iCloud but I'm not sure. I had a lot of pictures that i desperately want to get back PLEASE HELP

    You should be importing pics to your computer regularly as you would with any digital camera.  Nothing should only be on your iphone.  You should keep everything on your computer.
    If you have failed to do this, then they are gone.
    You can try restoring from backup.

Maybe you are looking for