"%0.00" hidden when field is blank.

Thanks in advance for your help. I have created a form which contains percentage values. When blank, these fields show "%0.00". The problem is that many times our customers print out the form and fill it in by hand, so the "%0.00" is a nuisance. Does anyone have any advice on how to make that field hidden unless a value is entered. (This is similar to the "$" issue I had a while back.) Thanks again.

Did you clear the form or force a calculation?
Validation scripts only run when the form field is updated.
Are there any errors in the JavaScript console?
This script works the same way as the currency formatting, it just uses a different internal format function.
You need to set the field's format to "None" since the validation script is determining the format and not a format script or the format selection (which is a behind the scenes JavaScript). The Formatting of a field is done after the Key Stroke, Validation, and Calculation for the field. See Form Event Processing for the sequence of field event processing. So any formatting applied by the validation or calculation is overridden by the any formatting selection other than "None".

Similar Messages

  • Calculated field hidden when field is blank

    This is actually similar to a discussion from a few months ago.Our forms are intended to be filled out online, printed and e-mailed, faxed, or snail-mailed. Many times the customer will simply print out the form and fill it out by hand. When I create forms with calculations the "$" or "0.00" appear; thus making it difficult for someone filling the form out by hand to work around those symbols/numbers. A few months ago, I had a similar situation involving percents and the gurus on this forum (Thank you, gurus!) helped me with the following code and it worked perfectly at hiding the calculated fields unless something was entered in the fields to be calculated.
    For a field with a format of "None" user a Custom validation script:
    if(event.value == 0) {
    event.value = ""; // set field to null;
    AFNumber_Format(0, 0, 0, "", "", true); // set format to number 0 decimals, no currency;
    } else {
    event.value = event.value; // keep value;
    AFPercent_Format(2, 0, 0); // set percent format 2 decimal places.
    This time, the problem involves simple numbers (not percent, not currency). I used the same logic and the fields actually show/hide like I want, but the numbers need to be formated with a comma separating the thousands and a decimal point with two digits after. I can't figure that out! Can someone please offer some advice? Thanks in advance for your help.

    Make sure you are using the correct quotation marks. Use either the double quotation marks or the single quotation marks and not 4 single quotation marks.
    if(event.value == 0) {
    event.value = ''; // set field to null (2 single quotation marks);
    Supress Zero

  • Show LOV only when field is blank

    Hi all,
    My environs:
    Oracle 10g on Windows
    Forms [32 Bit] Version 9.0.4.1.0 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Oracle Toolkit Version 9.0.4.1.0 (Production)
    PL/SQL Version 9.0.1.5.1 (Production)
    My problem:
    I have a field in a block, that is text_item and is tied to a LOV item. I want the LOV to show up automatically, each time I tab into it, only when the item is BLANK (say when I am trying to insert into the block). When on query, it should only display the queried value into the field, and user can choose to activate the LOV, by pressing F9, if she wants to. It now displays automatically each time text item is in focus (works fine when user is inserting, but annoying when she has queried the form, and trying to tab thru. Each time she focuses on the field, LOV is popping up!)
    The current property setting on the text field item: Type: Text Item
    List of Values : MY_LOV_NAME
    Validate from List : Yes
    Properties on MY_LOV_NAME
    Automatic Display: Yes
    Any suggestions? Or Item level trigger i can use, and if so, when build_in can I use?
    New to forms and will greatly appreciate advice from pros!!
    Thanks
    Libran_girl

    It is very simply,
    IN When-new-item-Instance
    DECLARE
    V_LOV BOOLEAN;
    BEGIN
    IF :ITEM_NAME IS NULL
    THEN
    V_LOV = SHOW_LOV(LOV_NAME);
    END IF;
    END;
    give it a try, you will get your result, if it doesn't work then try :block_name.item_name
    Abbas

  • Go to a Website no longer disappears when cursor in blank field

    Normal windows standards dictate that an empty field show blank when a cursor is put in it. However, starting with FF15, the Go to a Website verbiage does not disappear. Is there a config to make this go away? Confusing, because your never sure quickly if the cursor went into the field.

    "The placeholder will only disappear after you have typed at least one character." What?! Are you kidding me?!! This is not acceptable!
    I restored my computer just to go back to Firefox 14.0.1, and then I shut off updates. And it's going to stay like that permanently until this is solved.

  • I have a fillable form that we send to contractors - when the form is opened on a computer the contractor can view the fields we have completed, however when viewing from a mobile device or cell phone those fields appear blank. Any suggestions? I am at a

    when the form is opened on a computer the contractor can view the fields we have completed, however when viewing from a mobile device or cell phone those fields appear blank. Any suggestions? I am at a total loss as it works when viewing from the computer. I am assuming it is a setting or maybe we need to save it a special way?

    What version of Reader are they using, exactly? And are you sure they're
    using Reader itself and not opening the file inside a browser window, for
    example?
    On Fri, Feb 6, 2015 at 5:24 PM, jessicao96457206 <[email protected]>

  • Extractor (Delta) not recognizing a change when field is set back to blank

    Good Day Experts,
    Any pointers on the issue below will be appreciated:
    I have a Delta extractor which picks up the value from a field in ECC when the field is changed. When I initially assign date value, extractor picks up the change and everything works. 
    However, when I change the field in ECC back to blank, the extractor is not recognizing this as a change and hence it does not bring the new value into BI... so my master data in BI still the "old" value, even though the value has actually changed.
    Please let me know if you would like me to clarify...
    Cheers and Thank You,
    Dmitriy

    Hi....
    Here you have mentioned that Delta extractor which picks up the value from a field in ECC when the field is changed...........is it a date field ? or time stamp.....
    Unfortunately I can't check this datasource in my system.....
    But when delta is coming based on this field..........if this field is blank then obviously delta will not get captured.........why this field in ECC is not getting updated ?
    Regards,
    Debjani......

  • How Do You Change A Numeric Field To Blank When Zero?

    I'm using Adobe Acrobat 6.0 Professional, version 6.0.6.
    Can anyone help me with the code to change a numeric field to blank, when "0.00"?

    "no success" does not provide much to go on.
    With your scripts, I get the concatenation of the sting values, so one has to force JavaScript to convert strings to numbers.
    Make sure your field names are exact including case.
    Make sure the calculation order is correct.
    The following scripts all work:
    var fa = 1 * this.getField("FeeN01").value;
    var fb = 1 * this.getField("FeeN02").value;
    var fc = 1 * this.getField("FeeN03").value;
    event.value = fa + fb + fc;
    if ((event.value == 0)) {
    event.value = ""
    // or
    var fa = this.getField("FeeN01").value / 1;
    var fb = this.getField("FeeN02").value / 1;
    var fc = this.getField("FeeN03").value / 1;
    event.value = fa + fb + fc;
    if ((event.value == 0)) {
    event.value = ""
    // or
    var fa = Number(this.getField("FeeN01").value);
    var fb = Number(this.getField("FeeN02").value);
    var fc = Number(this.getField("FeeN03").value);
    event.value = fa + fb + fc;
    if ((event.value == 0)) {
    event.value = ""
    The "sum of" also works with the "Custom validation script" of:
    if (event.value == 0) event.value = "";

  • Is it normal that the DataSource field is blank when opening a master data

    Is it normal that the DataSource field is blank when opening a master data which is also an InfoSouce in InfoSource page.
    Just locate an InfoSource which is also a master data or data target where next to which is a green triangle picture icon in InfoSource page, open it, the top part (Commnication Structure) is automatically expended.  Expend the lower part "Transfer_Structure/Transfer_Rules", find the DataSource field is blank.  This only occurs for an InfoSource which is also a master data which have more than two data loads (e.g., one is attibute, and the other is text load) or there are two InfoPackage loads for this master data.  We checked for master data with only one InfoPackage under it (e.g., only text load) and find it's OK that the datasource field is not blank when expending the lower section.
    Thanks

    Kevin
    It's not common. If you have three Data Sources like attributes, texts and hierarchy by default attribute data source will appear on the screen and for the rest of the things we need to do dropdown and select. This is how in general it appears.
    Thanks
    Sat

  • Page hidden if a field is blank

    Is there a code I can input that makes a page "hide" if a field is blank?

    In Acrobat you make the hidden page a "template" and hide it. Then for your field you need to use either a validation script or on blur action to change the template from hidden to visible and if the field has its data deleted then you need to hide the template.
    var cTemplate = "myTemplateName"; // name of template to hide/show
    var t = this.getTemplate(cTemplate);
    if ( t != null )  {
    if event.value != ""  t.hidden = true;
    else t.hidden = false;
    } else app.alert("Template " + cTemplate + " not found", 0, 0);
    // end of non-null template name

  • ICloud asked me to reenter my password to get mail and when I did, it rejected my password. I'm trying to reenter in my account information, but it won't let me because the incoming mail server field is blank, but it won't allow me to enter anything.

    iCloud asked me to reenter my password to get mail and when I did, it rejected my password. I'm trying to reenter in mail account information, but it won't let me because the incoming mail server field is blank, but I can't enter anything into that field.

    No, didn't have to sign out. As I started to, got a messge saying something about losing all my calendar information, which unnerved me so I didn't sign out. It was correcting the password in another email account that corrected the situation for me.

  • HT204023 Hi, I'm Puthyrath. I have a problem on my iPad 4 wifi-3G about personal hotspot. I entered apn, username and password correctly, but when I leave this page, it didn't save, all fields become blank. Can anyone help me?

    Hi, I'm Puthyrath. I have a problem on my iPad 4 wifi-3G about personal hotspot. I entered apn, username and password correctly, but when I leave this page, it didn't save, all fields become blank. Can anyone help me?

    Update to above question:
    Hello All,
    To anyone with the same problem described above, on THEIR iPad (if it is running iOS 7.0.2):
    Go to Settings; Mail, Contacts, Calendars; DELETE your *******@btinternet.com e-mail account, that you originally set up either using 'Other', or the 'BT' option which I am sure was in the list previous to the iOS 7 update.
    Then ADD a NEW account choosing YAHOO from the list of options. DO NOT USE 'OTHER'.
    Enter the correct details just as you (almost certainly) had already done in your previous attempts using 'other'.
    When you see the 'verifying......' and 'the blue ticks' you should be able to exit settings and open your mail app and then receive all your 'old' e-mails again, AND be able to SEND as well.
    All my 'old' e-mails, were NOT found in the 'old e-mail' folder though. THEY are still in my inbox.
    So this fix worked for me.
    After I deleted my account from 'OTHER' and put it in Yahoo, I like other people also ended up with more folders.
    I hope this works for you on YOUR Apple devices.
    Bob

  • ODS Key Fields allows blank values in Transformation

    Dear Experts,
    I have two layers:
    1. Datawarehouse layer (purpose is to represent exactly data at the backend)
    2. Consolidation Layer
    Scenario 1:
    In Datawarehouse layer, the fiscal variant is a key field in ODS and I have two other key fields i.e. combine to form a composite key.
    When I load the data from PSA to this ODS, I have a record which contains blank value for the fiscal variant. It successfully loads into the Datawarehouse ODS.
    Sceanrio 2:
    In the consolidation layer, i have 4 key fields out of which fiscal variant is one of them. Now when I load the data from the datawarehouse ods to consolidated ods, it throws an error saying:
    Diagnosis
         An exception fiscvarnt_missing was raised while executin
         module RST_TOBJ_TO_DERIVED_TOBJ .
    System Response
         Processing the corresponding record has been terminated.
    The transformation mapping for the fiscal varaint in both sceanarios is 1:1 mapping with the rule type 'Time Characteristic'.
    My questions is:
    1. Why different behaviour during scenario 1 and sceanario 2
    2. Solution to the above issue
    Thanks
    Jain

    Thanks J.S.
    Yes the format selected in the field for the datasource is 'Internal'.
    When loading the data from R3>PSA>ODSX(Datawarehouse Layer), I have no problems even when the field is blank.
    When loading from ODSX-->ODSY(Consolidated Layer) the empty (blank) field for that records throws error.
    Any ideas?
    Jain

  • Import: CVD Base Value field is blank in MIGO

    All SAP gurus,
    We are running a Import's scenario.
    For this we have created Z condition types for CVD and BCD,  maintained all the condition types in pricing procedure (Customs Duty and CVD etc)
    Excise defauls are also maintained.
    problem we are facing is:
    Base value field is blank in MIGO and CVD amounts are not coming automatially from PO.
    When we maintained the values for CVD manually, accounting entry is correct.
    Which settings might be missing.
    Regards,

    HI,
    You need to enter the custom invoice number while doing GR wrt to Import PO, it will ask you the commercial invoice number which is your custom clearing agent invoice number once you put the invoice number and the year of the invoice, the base value will be come from there. Also check quantity with which custom commercial invoice was posted in the system should be equal to GR qty.
    BR
    Edited by: Sujoy on Feb 20, 2010 11:20 AM

  • Assignment Field is Blank only on Direct AR/AP Posting Scenario

    HI Experts,
    I have an issue regarding Manual Direct Posting on AP/AR FI Transactions. Our Users currently cannot post continuously the FI Documents because the Assignment Field is left Blank and is not automatically populated. We already check some scenarios like the configuration of the Sort Field, the Assignment of the Sort Field to G/L, and they are correctly assigned and configured. We also check that there are no Substitution Exits in tcode GGB4 or GGB1.
    However, we tried these G/L accounts on other Document Types and they are continously posted with the automatic determination of the assignment field.
    Anyone knows the configuration why the Assignment Field is not automatically filled-up even when sorting field is already assigned to G/L and with the scenario that is not working through direct posting with Document Types "DR" - Customer Invocie and "KR" - Vendor Invoice?
    Thank you for all your answers

    Hi jatgutz,
    Thanks for the Reply. Yes I have checked and it is likely the case for the Entry of AP/AR in the Accounting Document but during the Document Posting, when we do automatic tax calculation, the G/L Tax Account entry is also not assigned with the "Assignment" value even if the G/L Tax Account is maintained with the Sort Key. That's why an error message appears during simulation saying "Error in Line 003(where Tax Line Entry) - Please check" in the logs. The Document now if saved, becomes Parked.
    Last time, the Document normally continues to post even the AR/AP Item's "Assignment field" is blank because the tax entry's "Assignment field" is automatically filled. But now it's not working, both the AR/AP Entry and the Tax Entry's "Assignment field" are blank.
    So how do we check if this tax entry field's behavior during automated tax calculation? Is there a configuration for this that deactivated the Automatic "Assignment field" value for Tax Entries during Direct FI Posting?
    Thanks a lot!
    BTW I am a Filipino.Cheers!

  • How Do I Display A Hidden Form Field On Executing A Button (Yes Again But In More Depth)

    Hi,
    Yes, I just asked this question but was not specific enough. Ive looking for code within a JavaScript that will enable a hidden form field within a PDF to be displayed.
    What I am attempting to do is to display form field 'Text1" when the button is pushed executing a check of the system date. Im looking for the code to execute the following:
    If the system date is equal to or greater then '2009/02/01' (yyyy,mm,dd), then display 'Text1'.
    I'm using Adobe pro 8.
    Thank You for any help.

    You could so something like the following in the Mouse Up event of the button:
    // Get system date
    var Now = new Date();
    // Get cutoff date
    var End = util.scand("yyyy/mm/dd", "2009/02/01");
    // Set the visibilty of field Text1 based on the date
    getField("Text1").display = (Now > End) ? display.visible : display.hidden;
    George

Maybe you are looking for

  • Empty space check for text box

    i need to verify null check for textbox fields and it sould not allow spaces as well.... is there any way like trim functions.. please help me.. Already tried with JavaScript's trim() and not working... I'm using es3

  • Dial-up programming

    Hi, I'm currently developing an application that requires dial-up to a RAS server. Client hardware requirements for this app are windows box with either USB/Serial modem or ISDN connection. Client app will be driven with Swing GUI but I need help on

  • Syntax in xsl for the below condition

    i am having a condition like below <DATA_DS> <G_1> <MBR_ID>AD32575H</MBR_ID> - <G_2> <IND>CLAIM</IND> - <G_3> <SERVICE_CODE /> <QTY_DISP>0</QTY_DISP> <SUPPLY_DAYS>0</SUPPLY_DAYS> <RATE_CD>3874</RATE_CD> </G_3> - <G_3> <SERVICE_CODE /> <QTY_DISP>0</QT

  • Error Capturing in BDC Call Transaction Method

    How does the Errors in BDC Call Transactin is captured ....can you please give same examples of using BDCMSGCOLL and FORMAT_MESSAGES.. Please explain clearly when to used these in real time.. Thankyou

  • November Quarterly Update for Developers

    We've just opened up registration for the November 15th Quarterly developer update. Look for it at http://www.adobe.com/cfusion/event/index.cfm?event=detail&id=883099&loc=en_us This is a presentation tailored to developers for Adobe Creative Suite pr