Display pattern not working - add $ for a numeric/decimal field

I've designed a form which has fields where I need to display currency(US) values.
I've made the fields as numeric type. I've added the display pattern as num.currency{} and also tried with num{($z,zzz,zzz9.99)}. But nothing seems to be working.
The amount value passed in the xml input is 7,002.978.
The result that I'm getting now is $0.00
When I changed the field to decimal type and added the same display pattern as above, the result that I get is BLANK:  $
I need to format it such a way that it displays $7,002.99 in the form. There's no limit for the leading digits and the digits after decimal point should be 2. Is there a way to get this by changing the "PATTERNS" properties?
Please let me know how I can get the pattern right.
I'm using LC Designer ES2.

Hi,
By default it is not going to like the comma in your xml input, so you will need to change the data pattern.  Try using num{z,zz9.999}, which works for your example value.  With the comma it will treat the value as text and just display what it gets.
If your display pattern is num.currency{} then you will get two decimal places, but that makes the value $7.002,98.  I'm not sure how you get $7.002,99 ... is that just a type-o?
Regards
Bruce

Similar Messages

  • LiveCycle Designer 7, Display Pattern not working

    With Adobe LiveCycle Designer version 7.1.2295.1.242059:
    I have a Form that has fields that the user fills out and an "Email Submit Button" where when the user clicks it, it submits the form via email that attaches a .xml file. When I receive the email, I noticed that all the "Date" fields data does not have the slashes in them unless the user specifically uses the pop-up calendar form to set the date value for each of these fields. If the user just types in the date as "02192007", the data does not get converted to "02/19/2007".
    I tried modifying the various Pattern properties of the date fields on the form, but that does not seem to fix the problem.
    Also, if I set the following "date{MM/DD/YYYY}|date{M/D/YYYY}" as my "Validation Pattern:" for my Date fields, and everytime I enter "2/19/2007", I keep getting my "Validation Pattern Message", indicating that the format is wrong. However, if I enter "02" as the month, it works fine; only single digit months fail.
    The other settings for this field that I have are:
    (Field Tab): Display Pattern: MM/DD/YYYY
    (Field Tab): Edit Pattern: MM/DD/YYYY
    What am I doing wrong and how can I insure that slashes will come across on the XML file when it is submitted even though I have set the pattern properties?

    Designer 8 doesn't help either.
    I have the same settings Shweta proposes - but the exported date format is still different.
    You can fill the date field via script (like the following) then the date format is allright. To me it looks like the designer's "date format" is simply a string and the designer doesn't care a bit about the display patterns.
    var today = new Date();
    var dayOfWeek = today.getDay();
    var month = today.getMonth()+1;
    var year = today.getFullYear();
    var day = today.getDate();
    this.rawValue = day + "." + month + "." + year;

  • Installed Premiere Pro CS4 but video display does not work?

    I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
    1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
    2) the UI is way too slow for my big beefy system.
    My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
    Any ideas how to solve this CS4 install issue?
    Ron

    I would like to thank Dan, Hunt, and Haram:
    The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
    My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
    My PC is brand new with the following "beefy" components:
    Motherboard
    nForce 790i SLI FTW
    Features:
    3x PCI Express x16 graphics support
    PCI Express 2.0
    NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
    DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
    Overclocking tools
    NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
    ESA Certified
    NVIDIA DualNet and FirstPacket Ethernet technology
    Registered
    CPU: Intel Core 2 Quad Q9550
    S-Spec: SLAWQ
    Ver: E36105-001
    Product Code: BX80569Q9550
    Made in Malaysia
    Pack Date: 09/04/08
    Features:
    Freq.: 2.83 GHz
    L2 Cache: 12 MHz Cache
    FSB: 1333 MHz (MT/s)
    Core: 45nm
    Code named: Yorkfield
    Power:95W
    Socket: LGA775
    Cooling: Liquid Cooled
    NVIDIAGeForce GTX 280 SC graphics card
    Features:
    1 GB of onboard memory
    Full Microsoft DirectX 10
    NVIDIA 2-way and 3-way SLI Ready
    NVIDIA PureVideo HD technology
    NVIDIA PhysX Ready
    NVIDI CUDA technology
    PCI Express 2.0 support
    Dual-link HDCP
    OpenGL 2.1 Capaple
    Output: DVI (2 dual-link), HDTV
    Western Digital
    2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
    Features:
    10,000 RPM, 3 Gb/sec transfer rate
    RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
    p/n: TW3X4G1333C9DHX G
    product: CM3X2048-1333C9DHX
    Features:
    XMS3 DHX Dual-Path 'heat xchange'
    2048 x 2 MB
    1333 MHz
    Latency 9-9-9-24-2T
    1.6V ver3.2

  • My ipad screen is black and will not reset and does not come back after restoring, the info is still on internal because i can see it on itunes in the apps catagory it's the display is not working, can see backlight but black...does anyone know how to fix

    my ipad screen is black and will not reset and does not come back after restoring, the info is still on internal because i can see it on itunes in the apps catagory it's the display is not working, can see backlight but black...does anyone know how to fix, other than take it to apple.
    thanks!

    The wish list only works on apps you have to pay for. To get it tap the icon of the app you want to save. After it opens at the upper right corner is a box with a arrow. Tap that then tap add to wish list list in the box that opens.

  • Sorting not working correctly for date field in alv report

    Hi All,
    My report displays many rows also containing date type fields of bldat,budat .
    When I sort the report selecting field of type bldat budat the sorting is not correct for the year.
    Ex:
    Invoice doc dat
    01-25-2011
    01-21-2011
    02-02-2011
    10-25-2010
    11-20-2010
    If I use ascending then it is sorted as :
    Invoice doc dat
    01-21-2011
    01-25-2011
    02-02-2011
    10-20-2010
    10-25-2010
    Why the sorting is not working correct for year.(2010 records should have been first).
    The field wa_tab-bldat is of type char10.
    It is populated as wa_tab-bldat = bsak-bldat.
    Kindly suggest what can be done.

    The field wa_tab-bldat is of type char10
    Then what it does is correct.
    Refer to type datum...it will work

  • Mac Mini + A1038 Cinema Display does not work

    Hi,
    I have a 2009 model Mac Mini with mini-dvi and mini-display port's on the rear. I can connect any of my DVI based monitors to the mac mini using either the mini-dvi to dvi cable or the mini-displayport to dvi cable. All monitors except for the A1038 model Apple Cinema Display.
    The cinema display works with 3 other computers with DVI ports, turns right on and is detected right away. When plugged into the mini it does nothing. Sometimes I can get it to work with the mini-dvi to dvi adapter but that is sporadic.
    This is the same behavior with a 2009 model mac book pro and macbook. Using the mini-displayport to dvi cable the cinema display does not work but 3 other monitors do.
    So my question is, why does apple hardware only work with non-apple hardware?

    Is the A1038 the old, plastic Cinema Display that doesn't have a power cord or power supply? It only has a video cable with the special ADC on it? If that's the case, it needs this to run from a newer Mac:
    http://store.apple.com/us/product/M8661LL/B

  • My thunderbolt display is not working with my MBP retina 13''

    Hi,
         I just received both a new macbook pro retina 13'' and a thunderbolt display. Everything was working properly yesterday but today, I have no clue why, the thunderbolt display is not working anymore.
         . the power supplier for my laptop given by the thunderbolt display is still working;
         . when I don't connect my laptop through the thunderbolt connection, I can use the usb sockets as power supplier , for my phone, for instance;
         . as soon as I plug the thunderbolt cable, the usb socket is not feeding any more my phone, whereas the screen is not displaying anything.
         . If I take a look in the system report, in the thunderbolt tab, there is "no device connected"...
    I restarted plenty of time my laptop, took care to reinitialise the SMC as well as the PRAM, and nothing changed. I also disconnected the thunderbolt display, waited few minutes (and more), but nothing changed, again the black screen.
    Has somebody an idea?
    Thanks

    which model air do you have?
    try both a pram and smc reset
    plug the monitor into a different electrical outlet and a different port on your Mac (if you have multiple tb ports)

  • HT6114 I just updated the last version of OS X Mavericks on my Mac Pro and my Thunderbolt display is not working correctly

    I just updated the last version of OSX Mavericks on my MAc Pro and my thunder bolt display is not working correctly. Could you please help

    Reset the NVRAM/PRAM and Reset the SMC, then try again.

  • Request to post Icloud not working locations. for 2 days almost from Ventura CA. I think they are not being truthful about th eamount of folks affected!

    request to post Icloud not working locations. for 2 days almost from Ventura CA. I think they are not being truthful about the percentage of folks affected!
    and what's with the minimalist response? We're working on it for 2 days? You can do beter than that for exsisting loyal customers can't you?

    I just spoke to a Support person with Apple.  I got the same answer, "We Don't Know", "but they are working on it...Blah, Blah.  I too live in Ventura, and have been without email since yesterday approx. 3:00 pm.
    The guy said, it's the same if you brought your computer into the shop.  We have to determine if it's hardware, or software, then fix the problem.
    Well, What about a BACK UP SERVER?  No real answer to that one.  Just, "Thanks, for your Patience."
    This really blows!!!

  • Hi , i bought this phone from Dallas , TX  on 22 jun 2012 , right now I am in india . My phone Accidentally fall in water tub. And now is not working . For iphone replacement ,I went to local apple store in Pune (India). but these guys are not helping me

    hi , i bought this phone from Dallas , TX  on 22 jun 2012 , right now I am in india .
    My phone Accidentally fall in water tub. And now is not working .
    For iphone replacement ,I went to local apple store in Pune (India). but these guys are not helping me . And they  are not ready to replace my phone .
    I also tried contacting local apple employee  named " RATI KALE " , but didn’t got any positive response.
    I provided them apple invoice, passport, visa details, my air ticket details. but still  they are not ready to help me . My phone details are as below :
    Serial No:C8*******T9Y , IMEI : 01*************995
      Please help me in replacing my phone.
    <Personal Information Edited by Host>

    Your warranty is only good in the US where you bought the phone. You will need to contact Apple Support in the US to arrange to return your phone to the US for repair. You should also inquire as to whether they will be able to return the phone to you in India.
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Apple - Support - Contact Apple Support.

  • I need a reliable office suite.   Open Office is not working well for me.  Any suggestions?

    I need a good reliable office suite.  Open Office is not working well for me.  Any suggestions?

    If you mean Open Office is not always able to correctly open documents received from clients created with MS Office, then the only real solution is to purchase Office 2011 for Mac. As good as some of the free alternatives are, they can't duplicate every feature of MS Office.

  • My iphone 4 fell down from 3 feet height and display is not working now, phone is functioning with calls and messages etc.. except no display :( please advise me a corrective action...

    my iphone 4 fell down from 3 feet height and display is not working now, phone is functioning with calls and messages etc.. except no display please advise me a corrective action...

    Take it to an Apple Store and see about getting an out of warranty replacement. I believe it will run you about $150.

  • Good evening, after upgrading Iphoto 9.5 a page opened requiring to upgrade my library. As it did not work out,for fear of losing all my pictures I  loaded Iphoto 9.4.3  with Time machine but I had lost quite a few photos. As a matter of fact, after searc

    Good evening,
    after upgrading Iphoto 9.5 a page opened requiring to upgrade my library. As it did not work out,for fear of losing all my pictures I  loaded Iphoto 9.4.3  with Time machine but I had lost quite a few photos. As a matter of fact, after searching , I found them In Photo library in 'images' on my hard drive. When I double click, 9.5 appears with all my pictures. Therefore, I would like to use 9.5 just by by clicking on the icon down my finder and  not by being obliged to open my hard drive.
    Would you please tell me what I should do. Thank you.
    Best regards,
    Robert

    Huh?
    As it did not work out,for fear of losing all my pictures I  loaded Iphoto 9.4.3  with Time machine but I had lost quite a few photos. As a matter of fact, after searching , I found them In Photo library in 'images' on my hard drive. When I double click, 9.5 appears with all my pictures.
    So, you have restored 9.4.3 from Time Machine but can see all your pictures in 9.5?
    Do you have two version of iPhoto on your Machine?
    And if you didn't update the Library, ("as it did not work out,") how can you see things in 9.5?
    So, whatever set up you have is confusing.

  • Palm Treo 755p -- bought new computer with Vista and downloaded Download Palm Desktop by ACCESS 6.2 -- now the sync does not work, asks for drivers

    Hello...
    I am new to the Palm (~1mo.) but I was using hotsync with my old laptop which had Windows XP and was not experiencing any real problems.  That computer is going bye-bye, I bought an HP with the Vista OS and I followed the directions on downloading the Download Palm Desktop by ACCESS 6.2 from the website but now I can not get my device to sync-- The Desktop computer asks for the appropriate drivers.  I tried searching online, on the disk that came with the smartphone and even reinstalling a couple times and everything is dead in the water...
    Anyone able to help me out on this?
    Is there an additional patch of some sort to download?
    Post relates to: Palm m515

    Just in case it is not clear...  that post was made after I bought the bluetooth adapter and tried following the advice provided in the Vista 64 Hotsync solution found! post.  Again-- my statement of not working is for the following reasons:
    1) my PC tells me that the sychronization completed with errors.
    2) when I look at the log that the Backup sychronization aborted.
    3) It almost invariably tells me that it Failed to backup 1 file(s) and that file is "NetworkProfiles2" through a "Protocol Error: Unknown error. (6410)"
    4) many of my contacts (over half) duplicate during this synchronization.
    5) many of my appointments (over half) duplicate during this synchronization.
    The information about creating a virtual serial port on my PC comes from my actual palm itself.  The palm info is in the HotSynch verbage and it tells me to contact my computer manufacturer.  In doing so however they have no idea how to do this and Palm does not either.  I am still working with HP on trying to resolve that part of it but I am thinking from the hours of research that Palm wants me to create another COM port but again the help I am finding on this is beyond my pay grade so to speak...  you can check out the following link and try to help me if you like:
    http://msdn.microsoft.com/en-us/library/ms885792.aspx
    So... any ideas my friend?  It appears that some Vista 64-bit users are having success with a bluetooth synch but I have tried emailing those that claim to have been able to do this with no luck.  I am not having any luck (I hope my outline above is clearer)-- and no one has seemed to had any luck recently.
    I would love to make this work-- I bought this phone for this functionality.
    Post relates to: Palm m515
    Post relates to: Palm m515

  • What's up with the I-tunes radio player not working now for several days?

    Wha's up with the I-tunes radio player not working now for several days? error message reads "an error occurred occurred while contacting the radio tuning service. Check your internet connection or try again later" My internet connection is fine.

    Having same issue on Powerbook G4 running 10.5.8 I suspect Apple disconnected the service.

Maybe you are looking for