Format fields to Kg

I need some help in Acrobat X.
In the format tab, under properties for a form field, I need to be able to input only numbers, the only separator to be a single "point" .. like  " 4.5" and "kg" to be added automatically.
Basically, the form should behave like a normal "Number" format category, but i need to have Kg as "currency".
Can you please help?
I found something here : http://forums.adobe.com/message/1179794#1179794
but i don't know if i can use it and how.
Also, is it possible to make a form, one time completable, so that after a value is imputed, no other changes to be made to it?
thx.

This is a simple keystroke script, it will allow entering digits, periods(for decimals) and dashes (for negative numbers). Remove '\-' from the first line if you only want positive numbers. Remove '\.' if you only want integers.
It only verifies that the characters being entered (either by keystroke or paste) does not contain any characters other than digits, periods or dashes. It will allow multiple periods and/or dashes and it doesn't verify what already exists in the textbox.
var re = /[^\-\d\.]/;
if (event.change.length >0) {
if (event.willCommit == false) {
      if (re.test(event.change)) {
          event.rc = false

Similar Messages

  • EBS with MT940 format field 86 structure - the details of remitter

    Dear Sap guru,
    I am starting configuration for EBS with MT940 format field 86 structured. I have got the format from Deutsche bank.
    My problem is how to configure a search string to search within field 86 for Bank code of remitter (?30) and account number of remitter (?31). The search string appears to search the details of payment information (?20Bis?29) only.
    Could any of you provide your expertise on this so that EBS will pick up the remitter information ?
    Kind regards
    taro

    The field ?30 is stored in FEBEP-PABLZ.
    When the field ?31 contains an IBAN, it is stored in FEBEP-PIBAN (and the corresponding BBAN is stored in FEBEP-PAKTO); in the other cases it is stored in FEBEP-PAKTO.
    You should use these fields in a user exit.
    (Source: program RFEKA400:)
          WHEN '30'.
    *       BLZ   Auftraggeber/Zahlungsempfänger
            MOVE HEAD_2 TO XFEBEP-PABLZ.
          WHEN '31'.
    *       Konto Auftraggeber/Zahlungsempfänger
            CALL FUNCTION 'FUNCTION_EXISTS'                   "start n969358
              EXPORTING
                funcname = 'SEARCH_FOR_IBAN'
              EXCEPTIONS
                others   = 1.
            IF sy-subrc = 0.
              CALL FUNCTION 'SEARCH_FOR_IBAN'
                EXPORTING
                  i_string = head_2
                IMPORTING
    *              e_tiban  = l_tiban
                  e_subrc  = l_subrc.
              IF l_subrc = 1. "not an IBAN
                MOVE HEAD_2 TO XFEBEP-PAKTO.
              ELSE.
                MOVE HEAD_2 TO XFEBEP-PIBAN.
              ENDIF.
            ELSE.
              MOVE HEAD_2 TO XFEBEP-PAKTO.
            ENDIF.                                              "end n969358

  • Format Fields in Cross Tab and Calculated Members

    Hello:
    I have a cross Tab with a calculated member, I need to display one decimal or no decimal in some of the columns so I created a formula in the Display String option like this:
    if GridRowColumnValue ("@TestID_desc")= "ALK mg/L
    then
      Cstr(CurrentFieldValue, "0")
    else
      Cstr(CurrentFieldValue, "0.0")
    But, after I saved the formula the value in the calculated member colums disappears. Any ideas? Thank You in advance!

    right click on calculated field and go to format field and in number tab select customize button and write the condition for decimals.
    regards,
    Raghavendra

  • Help on conditionally Formatting Field in a Cross Tab

    Hi all,
    I like to conditionally format a number field in a cross tab, ie. on a certain column the number should show 2 decimal places, otherwise no decimal places.  I have tried a formula in the Decimals of the Format Field, If {Command.COL_TITLE}= "G"
    Then
    2
    else
    0.
    Column G is the one that is to display the number in 2 decimal places.  The formula runs, but it never  {Command.COL_TITLE}= "G" is never true, ever.  COL_TITLE is the columns of the Cross Tab.
    Any ideas ?
    Thanks
    Austin

    Austin,
    If you are trying to format a column then try using the GridRowColumn function.
    In the Customize Style tab highlight the column field and check what the alias for formula is. Then format the decimal places for the summarized field with a formula similar to the following;
    If  GridRowColumn("Alias for formula value") = "G" then 2 else 0

  • Oracle eBS- PO Output Format field - question

    Hi,
    If I'm using this path
    1.Log in to the Purchasing Super User responsibility.
    2. Navigate to the Purchasing Options window. (Navigation: Set Up > Organization > Purchasing Options)
    3. Navigate to the Control tab.
    4. and then I choose PO Output Format field
    The problem is I can't change this (PO Output Format field) from TEXT to PDF. Does anybody knows why?
    Regards,
    Marius

    See Note: 301824.1.
    XML Publisher has not been installed on the server.

  • What does initial do when used on a date format field

    Hi,
    When  a check of if initial is done on a date format field , does it check if the field is 00/00/0000 orit checks if its blank?
    Thanks.

    Check is done on value "00000000".
    Please try the following code, put a break-point on IF condition, t_date will have value  "00000000":
    DATA: t_date type sy-datum..
    IF t_date IS INITIAL.
      Write : 'test'.
    ENDIF.
    Hope this helps.

  • Rotate Format Field 180. Height Grays out and changes from 2 to 1????

    Is there a reason why when I create a Format Field with a height of 2, and then when I rotate the field 180, then the height changes to 1 and can not be changed. (Grayed out).
    Is there anyway to make the height back to 2? Strange why this would happen.
    I'm using v5.5.1.280.
    Thanks

    Well, I was about to send the email but before doing so I decided to see what the software says about rotating. Here a quote from the help system:
    >Output Designer does not support the rotation of multiple-line fields. If the rotate property for a multiple-line field is changed to something other then 0 (the default), Output Designer will automatically convert the multiple-line field to a single-line field. At the same time, Output Designer will gray out the height property for the field.
    There doesn't seem to be a text rotation property but the help system states:
    >Rotated text labels are restricted to a single line, using a single font. Output Designer converts a multi-line text label to a single line when rotated.
    My guess is that the programming team was able to rotate the field but ran into a problem keeping the height so they documented the restriction.
    It looks like to get multiple lines there will just have to be multiple fields and some way to split up the data into those fields.

  • How to change numbers in a formatted field

    We are using Adobe Output Designer, we have a numeric field that prints out 50% of that numeric field based on the formatting that we put in that field. We want the printed numbers to print as currency. Currently is prints:
    296.9
    671
    117.275
    etc.
    How can we get it to print:
    296.90
    671.00
    117.28
    Thanks!

    go to Format the field
    In the Data field attribute section
    change the picture field to be ZZ,ZZ9.99. This should apply a currency format to your values

  • Help with formatting fields in PDF...

    Hi -
    I´m working on a form that should be filled in from the internet...
    The design I did i InDesign - and the formfields I did i Acrobat Pro -
    and finally I´m finetuning everything in LiveCycle...
    I've runned into two problems...
    I need the date field to correct itself - 
    if the user choice to use the wrong format...
    for example -
    we want to have YYYY-MM-DD
    and if the user writes DD MM YY -
    it should be accepted and corrected....
    is this possible - maybe with JAVA-script?
    Also - In Sweden anyway we always write the Social Security number in this way
    YYMMDD-NNNN ( N = Numbers between 0-9 )
    How can I get the field to recognize and to crave - "demand" this format...
    I´ll hope my Swinglish can be understandable?
    IdéSpiran

    I suggest that you make use of the Validation patterns for this. On the Object palette there is a Value tab and on that tab is a button for Validation Pattern. You can create a pattern in 4 areas - Display - what the user sees on teh screen, Edit - what the user enters in the field, Validation - what the value entered will be validated against and Data - what is stored in the data file. You will be interested in the Display pattern. Depending on the type of field you will see different data patterns ( i.e. Date fields show date patterns and TextFields have phone numbers, zip codes etc..). You can also create a custom pattern. Have a look in the docs about patterns and you will see what each of the chars represents and how to create one. For your SSN you will probably need javascript because of the combination of Date and number formats.
    Hope that helps
    Paul

  • Electronic bank statement MT940 format (field 86 structured)

    Hi guru
    I receive from UBS bank an EBS in MT940 format.
    With trx FF_5 I need to import with format 'S' (MT940 field 86 structured).
    While import the error message 'Data lenght error in record 86' is displayed and I can't import the file.
    But If I change the import format from 'S' to 'I' (MT940 field 86 unstructured)  the import works.
    Somebody has an idea how I can always import with the same fomat?
    Thank you in advance
    Tiziano

    Hi
    thank for your answer.
    I open a case to SAP because is a technical problem with the bank file.
    Tiziano

  • Formating field on the Adobe form

    Hi All,
    I have a field matnr which is displayed on the adobe form with the leading zeros. Eg 000000000001003800, However I want this field to get displayed in the internal format such as 100-3800. How to get this resolved. Has anybody worked on the same before.
    Regards,
    Sanjay.

    Hi All,
         I wrote the code in the initialization and used the conversion FM  CONVERSION_EXIT_MATN1_OUTPUT, However the output is not coming as desired. It is printing the same as discussed above.
    Item table is defined in the global parameter
    thus the code looks like below:
    loop at item into w_item
      call function CONVERSION_EXIT_MATN1_OUTPUT
                  importing  =  w_item-matnr
                  exporting  =  w_item-matnr.
    then I am modifying the internal table with the exporting parameter as matnr.
    endloop.
    I tried to put a break-point, however it does not stop there.
    Is there anyother look out for this.
    Regards,
    Sanjay.

  • String substitutions in format fields

    It's dawning on me that if the owner of the app I'm working on ever decides that all currency fields should display 2 decimal places instead of rounding to the nearest dollar, it's going to be a lot of work to go through all the currency fields in the reports and tack on the "D00" to the "Number / Date Format" column attributes. Is there a way to implement that attribute so that I can change a value in a central location and have it affect all my currency fields?
    For example, I tried creating a substitution string #CURRENCY_FORMAT# with a value of "FML999G999G999G999G990" and then entering #CURRENCY_FORMAT# as the value for the column format attribute, hoping that it would substitute the format string, but it didn't work. Is there something like that I can do?

    Ian,
    I think you may be confusing the syntax.
    To use an item substitution for the format mask of an item, you would specify &CURRENCY_FORMAT. (inclusive of the trailing period).
    This way, you can then define CURRENCY_FORMAT as an application level substitution string or even an application item if you wish (I always use application level substitution string).
    Joel

  • On forms central -- can you format fields for phone # and zipcode

    is a form is sent out, the data that is returned is non -formated, or if i collect a field called zip code and it has a 0 as the zero is not returned

    I realized something - I would recommend that you change the field type for the Zip Code and Phone number fields, I'd guess you are using a "Number field" and should consider using "Text Field". 
    I have a habit of using "text" fields for zip codes and phone numbers, using a text field the entire string (with leading 0s) is submitted to the response table.
    If you use a Number field the leading "0" is stripped out but if you use a text field the entire number entered by the user will be shown in the response table.
    Thanks,
    Josh

  • FDM Import Format - field name list population

    I am working with an Import Format definition. How can I control the list of possible names that are displayed in the Field Name drop down list box? The lists currently displayed are different from Import Format Group to Import Format Group.
    Thank you.
    Gary

    The selections are controlled by the dimensions of the adaptor assigned to the location using the adaptor. The drop down list names are controlled by the dimension alias.

  • Formatted fields disappear after exporting to Infoview

    Hi Experts,
    In my CR2008 report file, I have date fields which are disappeared after opening in Infoview.
    Here is an example of the formatted date field:
    {@StatementDate} =
    if {@Timezone}="EST"
    then cstr(dateadd("n",(5+{?Offset})*60,),{?DateFormat})
    else if {@Timezone}="EDT"
    then cstr(dateadd("n",(4+{?Offset})*60,),{?DateFormat})
    {@Timezone} : This formula field checks if the PrintTimeZone falls in Daylight Savings or not and returns either EST or EDT
    Similary, another formula field uses CurrentDateTime and returns the report run date in user timezone based on the {?Offset} value.
    When {@StatementDate} is used in the report in CR2008, there is no issue. Everything comes up correctly. When the same report is opened through Infoview, the {@StatementDate} field is showing blank.
    Please suggest at the earliest .Thanks in advance.
    Regards,
    Naresh

    HI Jamie,
    I've tried your suggestion. When using the Timezone formula to display in Infoview, it's returning 'E' instead of 'EST', where actually the formula is failing.
    Timezone formula is based on PrintTimeZone function of CR2008 to extract the abbreviated form of the User Timezone who logs in and runs a report. So, it checks for daylight savings and returns the abbreviated form like EST or EDT or IST so on.....
    In Timezone formula there is a loop which tried to extract the first character of the PrintTimeZone function and returns the abbreviated formula. If PrintTimeZone is Eastern Standard Time, -300, Daylight Saving, -60, 03.0.0 2:00,11.1.0 1:00, it first checks whether the current month and date falls in Daylight Savings or not and returns True if Daylight Savings, Then, it returns EST or EDT. This works for all the TimeZone across the globe
    So, in Infoview, it returns 'E' and failing to extract the rest of the characters to form EST or EDT. Any clue as why this could happen? For now, I've hard coded the formula to return  EST or EDT depending on the Daylight savings true or false.
    Thanks
    Naresh

Maybe you are looking for

  • How do you change the email destination when you forgot your security question?

    Hey! First of all, Thank you for noticing my post! Haha Alright.. Soo.. This Apple ID was made a long time ago since my iPhone 5 was bought. I was planning to buy an ingame item but Vertification was needed so I was like yeah ok sure. XD Then it star

  • Free goods determination-Without Item generation

    Hi, I have read the below link, Inclusive Free Goods without Item Generation - Basic Functions and Master Data in SD Processing (SD-BF) - SAP Library I am using ECC 6.0 EHP 5,we dont have dont have condition type NRAV. Kindly advise me any patch have

  • ISE 1.2 with CoA

    Hi, It is really difficult to deploy 802.1x from scratch... after provisioning for wired, shouldn't re-authentication occure ?? so the clients can authenticate with their USER ID/PW.. It is working with Windows, however, It seems not to work with MAC

  • Possible to keep contents of Java Collection after closing program??

    Hiya Is there any classes in the java library that allows you to save contents of a collection such as HashMap/ArrayList etc into a so called offline collection so that next time when start up of program the contents wont disappear? Because i know wh

  • Instantcient 10.2 32 bit on win 7 pro

    hallo, I've installed instantclient 10.2 on windows 7 professional, but as soon as I try to create a DSN after chosing driver I get a messagebox with error. Because I have polish Windows I don't know the original english text. It says that the loadin