Percentage display pattern in LC8.0 limited to 3 digits

Quite new to LiveCycle and loving it!
Now I need to create a form which allows a customer to fill in their "percentage rate of salary" ie up to 100%. I have created both decimal and numerical fields using various combinations of zzz9.99%, however no matter what I try I get a result of 5450%, NOT 54.50%.
Can I benefit from anyone's experience? Thanks.

Hi Bob,
If you look into the "Write to spreadsheet file", there's an input for the format specifier. This defaults to %.3f, which will save binary data in ASCII with only 3 decimal places. If you need more (say 10) then wire a string with %.10f and it should work fine.
Hope this helps
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

Similar Messages

  • Use javascript to create a display pattern

    I have a text field that is subject to parameters regarding display (color, font, posture) in the initialize, enter, and exit event for the field. With this script, using the display patterns on the object palette apparently will not work because of the code. Seems like the logical solution would be to add a pattern definition in the exit event. However, I do not know the syntax for this. I am looking to apply a US currency pattern such as num{($z,zzz,zz9.99)} to the field. I have tried things like this.font.pattern = num{($z,zzz,zz9.99)}; but that does not seem to work.
    Can anyone suggest the right code?

    I used your suggestion as follows:
    this.format.picture.value = "num{($z,zzz,zz9.99)}";
    in the enter event and it worked like a charm.
    Thanks.

  • How to dynamically assign Display Pattern using FormCalc in Adobe PDF Form

    I am using Adobe PDF Form Designer. I am trying to dynamically assign a display pattern like MM/DD/YYYY to the Field tab - Display Pattern property. May I know how to do that?
    I am using FormCalc scripting.

    hi,
    After placing the date field in layout from data view, u will get tabs like field,layout,border etc..
    In field tab under the edit pattern specify the pattern in which you want to display the date field.
    hope this works.
    Reward points if helpful.

  • Get the Ratings and Percentage displayed in an Activity Survey

    We want to display the Survey Rating and Percentage displayed on the survey created under Activities in CRM_SURVEY_SUITE.
    The function module is:
    Callback to PBO: (empty)
    Callback to PAI: CRM_SVY_ACTIVITY_PAI
    If the same survey is present under Opportunities, we could see the survey rating as well as percentage printing on the survey.
    This is happening because of the Function Module CRM_SVY_OPPORT_PAI.
    Callback to PBO: (empty)
    Callback to PAI: CRM_SVY_OPPORT_PAI
    Now, may be because of the default property of CRM_SVY_ACTIVITY_PAI
    function module, we are not able to see the rating and percentage on the survey in Activities.
    Is there a OSS note to do this? Or what can be done?
    please help.
    Thanks,
    Abhi

    Hello Abhi,
    In standard this is available only for opportunity.If you need the same functionality you can create your own Z code and copy the same code from opportunity and call this function module.
    I rechecked there are no notes on this.
    Regards,
    Deepa

  • Negative values not showing up in NUMERIC display pattern Szzz,zzz,zz9.99

    Hi,
    I want to use numeric field type and display pattern Szzz,zzz,zz9.99.
    I don't see neagtive numbers with this format?
    What do I need to change?
    Rgds
    Vara

    siva,
    I tried both of them with numeric type.I am still not getting my neagtive values.
    When I tried ($zzz,zzz,zz9.99)  & $zzz,zzz,zz9.99 ..I am geting output as $ 0.00
    If I change object type to TEXT I am getting my value.. but output is like this
    2123123.-
    I need it as
    2,123,123.00-
    I am ok using TEXT type too but i am missing those zero's..
    Rgds
    Vara
    Edited by: Vara K on Feb 23, 2009 2:20 PM

  • How to change the Display Pattern for Decimal Fields dynamically

    hi all,
    Can any one help me how to change the display pattern for decimal fields dynamically???
    Currently I am using z,zzz,zzz,zz9.999 Display pattern for Quantity Field. If the value is blank it is displaying as 0.000 on the Screen. But I don't want this to be printed.
    Please help me how to solve this ASAP.
    Thanks,
    Prabhu

    Hi,
    Alternatively you can handle it in the context.
    In the context area, click on the quantity. In the bottom, click on the conditions tab, and put a condition
    <quan field> NE initial.
    So the field will not be printed if there is no value.
    Regards,
    Vidya Chowdhary A.

  • Display pattern questions

    I would like to be able to set up a display patter that will add some asterisks or some other characters on each side of what ever a user enters in a field in order to flag the text. Is that possible? or is there a better way to do this than using display patters. I check the Designer help but could find much to answer my question.

    Amanda,
    Try to put a single quote around the parenthesis like this:
    '('$ZZ,ZZ9.99')' for your display pattern.

  • Force Date "Display Pattern"??

    Greetings,
    We are having troubles with the "Display Pattern" of Date fields.  The scenario is that we receive data in XML, apply it to the form, and then want it displayed in a specific format on the Form, but it doesn't work like it should.
    For example,
    1. Our XML contains dates in the format MM/DD/YYYY (e.g. 05/11/2010).
    2. We want it displayed as MMMM D, YYYY (e.g. May 11, 2010)
    So we set the "Display Pattern" of the "Date" field in LiveCycle, to equal date{MMMM D, YYYY}
    But when we receive the data in the MM/DD/YYYY format from the XML, it still gets displayed on the Form as MM/DD/YYYY.
    If we re-select the date on the form itself, the correct pattern is displayed.  But we need these to be correct when the data is applied, and this doesn't seem to work.
    Suggestions?  Something we're missing?
    Thanks in advance!!
    GS

    The Date Control expects data in the format YYYYMMDD.. But your XML is sending the data in MM/DD/YYYY, so you need to convert the input data to the required format. Then only the Display pattern can work.
    Put the below code in the Initialize event of the Date control..
    Language: FormCalc
    $.rawValue = Ltrim(Rtrim($.rawValue));
    $.rawValue
    = Num2Date(Date2Num($.rawValue,"M/D/YYYY"), "YYYYMMDD");
    Thanks
    Srini

  • 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;

  • Change display pattern at  run time

    I have a date/time field which has display pattern set as MM/DD/YYYY...
    During run time, if user clicks on a check box...the display should change to DD/MMM/YYYY...How can i do that?

    You can do this with a little bit of script on your check box's Click event (in FormCalc in this example):
    if ($ == 1) then
    DateTimeField1.format.picture = "DD/MMM/YYYY"
    else
    DateTimeField1.format.picture = "MM/DD/YYYY"
    endif
    The trick is to know that in XFA, what Designer refers to as the "Display" picture is the <format> node which contains a <picture> which, in turn, contains the "display" picture; or, the picture used to
    format the field's value for display purposes.
    I've attached a sample form which demonstrates this.
    Stefan
    Adobe Systems

  • Display pattern of numeric field in adobe reader ver 8 and 9.

    I have added a text field to my form and have set the following properties:
    Type: Numeric field
    Limit length to visible area: checked (so that it accepts upto 9 digits)
    display pattern: zzz9
    data pattern: zzz9
    data format: Integer
    When I type "123456789" in the field, adobe reader version 7 and 9 are adding commas to the number and are displaying it as "123,456,789" while adobe reader 8 displays it the way i want "123456789"
    Appreciate if someone can quickly provide some guidance here.

    The issue is that the pattern that you are applying from the field cannot be applied to your input so the default pattern for numeric fields is being applied (hence the 123,456,789). If you make sure that your numeric field is set for integer (Binding tab/Data Format). Then set the display pattern to num{zzzzzzzz9}. It will work.
    The default pattern is held in the XDP template. It is created based on your locale. If you click on the XML Source tab (between Preview and Master Pages - if it is not visible then you can make it visible on the View/XML Source menu)then do a serach ctrl-F for numberPattern you will see where it is defined in the template. If you modify this one then it will only be applied for this form. Any new forms will revert back to the old pattern.

  • Percentage Display for subtotals

    Hello,
    on BW 7.0 percentage display for subtotals make me crazy.
    Material A
        Component 1            30
        Component 2            50
        Component 3            20
    Subtotal Material A      100
    Material B
        Component 4           20
        Component 5           20
        Component 6           10
    Subtotal Material B      50
    Overall result           150
    Result should be % display for subtotals by Material.
    Example for Material A
         Component 1           30%
         Component 2           50%
         Component 3           20%
    I have no clue how to solve this issue. It always calculates with overall result.

    Hi pascal,
    Hope ur getting the Result as Subtotals..........
    Use SUMCT for Sub totals and SUMGt form Overall Totals.As it is sub totals use  SUMCT in the Formula.
    Rgds
    SVU123

  • 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

  • Display pattern for DateTimeField ignored when setting value from script

    Hello,
    I have a DateTimeField with Data pattern date{DD.MM.YYYY} and Display pattern date{MMMM}, so it displays its default value "21.05.2011" as "May". Now I'm setting its value from the other field's initialize event:
    if (this.rawValue) {
        data.Subform_Footer2.DateTimeField1.rawValue = this.rawValue.match(/\d+\.\d+\.\d+/)[0];
    Assuming this.rawValue contains text "21.04.2011", the DateTimeField displays "21.04.2011" in preview instead of "April" as specified in Display pattern.

    Hi,
    To me it looks like you are passing a string to the date field, rather than a date.
    Instead of trying to abstract the month manually in the script, why not pass the whole date through "21.04.2011" and leave the display pattern display the month.
    Niall

  • Display System Preferences are More Limited after System Reinstall

    Since doing a complete reinstall on my system drive, my 2 Dell monitors do not show up as "Dell 2405FPW." Before the reinstall both monitors showed up as Dells in the Display system preferences. Now one shows up as "Color LCD" and the other as "VGA Display." Now the display prefs are much more limited.
    Any ideas how to get the computer to recognize the displays like it did before the reinstall?
    Thanks!

    Was there originally a software disc that came with your Dells, that may have installed a display preference file for them?
    Maybe that will have to be installed, if it hasn't been.

Maybe you are looking for

  • Safari won't open after 5.0.3 update

    The safari on my MacBook will not open. When I click on the safari icon, the icon will jump,and "Safari" will show in the finder, but the window will not open. If I click "new tab" a gray inactive window will open but then the Applicatio will quit un

  • Wants to change value in Condition Tab ( ZOTL ) of PO

    Dear Expert, I was created subcontracting PO with item category L. In condition tab I put value 10,000 for other charges by mistake I want to change that value 1,000. PO quantity is 1000 and I did GR of 600 material quantity for that purchase order.

  • Directory structure for Applets

    The Tutorial recommends storing the applet class in the same directory as the HTML file. Is this the usual best practice? If not is there a preferred directory structure. I've noticed that the codebase relative URL "../myclasses/" doesn't work from t

  • Panasonic AG-HSC1U compatibility w.FCE/FCP or i movie08 ?

    on some reviews of this camcorder it is stated that it works fine. true or false?

  • How to copy .vmg files to phone from pc?

    Hi. My phone is a N73. Before performing a hard reset on my phone (I had to for some reason), I copied all my sms messages from Inbox, Sent Items, Drafts and Outbox to my pc using Nokia PC Suite. Now I want to restore those messages to phone again. I