Display the field calculated only when there is data

Hello

Is there a way to display my value only when the data entry field is used. For example, if I have several fields aligned vertically, I don't want to display a bunch of zeros if their data fields are not used.

Thank you!!!

You must write the script in the event of Field2 Calculate.

The value of the FormCalclanguage.

if(numPeople.RawValue ne null) then

numPeople * 12

endif

My previous answer shows 2 ways to write the same script. A FormCalc and other JavaScript...

Thank you

Srini

Tags: Adobe LiveCycle

Similar Questions

  • display the field #phonenumbers # to put spaces in there

    display the field #phonenumbers # to put spaces in there


    Well Yes, I'm new to this!

    the field #phonenumbers # and #phonenumbers2 #.
    output like this
    8005551234
    I thought put it is
    800-555-1234
    or
    800 555-1234
    or
    (800) 555-1234

    What is the best someone can show me the premiera?

    In addition, this #phonenumbers # and #phonenumbers2 # is spent in a hidden and variable field.
    and just a < cfscript >

    Here it looks like this
    < cfscript >
    PhoneNumbers = '#getphonenumbers. POSTAL CODE # #getphonenumbers. Telphonenumber # ';
    < / cfscript >

    ----
    Another area the first 3 numbers are stored separately from the next 4

    < cfscript >
    phonenumbers2 = "#getphonenumbers2." AREACODE2 # #getphonenumbers2. Telphonenumberfirst3_2 # #getphonenumbers2. Telphonenumbernext4_2 # ';
    < / cfscript >

    Help? Thanks in advance.

    Silvia:

    You should familiarize yourself with the phoneFormat() function available as a free download on http://www.cflib.org/udf.cfm?ID=781.

    David

  • Display buttons in a region report only if there is data in the report

    Hi friends,

    I have a region of report in which there is a report, 2 buttons and a text field. I want to show these buttons and

    text field only if there is data in the report. How can I do this? Help, please


    Thank you

    TJ

    Hello

    Define buttons conditionally as Exists (SQL query returns at least one row). The same use and the WHERE clause as your report, but change the SELECT part

    SELECT 1 
    

    BR, Jari

  • Why was the full Inbox folder when there is no message in the folder of outlook express?

    Original title: failure of Outlook Express

    I apologize if I am in the wrong category, but there isn't one for Outlook Express. I encountered a strange problem with OE. My client always uses OE for their emails and all of a sudden a person has lost the ability to receive emails. After some research, I found that their Inbox.dbx file exceeded the capacity of 2 GB. Juggling which corrects the problem.

    But my question is why was the folder Inbox full, when there is no message in the folder? When I opened the OE to try to resolve the problem, the Inbox was empty! Second question is how can I keep this does not happen?

    [Transferred from Internet Explorer]

     
    I do not use Outlook, but it has nothing to do with archiving. Only, you do not see messages once you remove them, but they are still on your drive hard until you compact.
     
  • How can I change outlook settings to display the field 'to', so that I can see that the emails were sent at a glance?

    How can I change outlook settings to display the field 'to', so that I can see that the emails were sent at a glance?

    Outlook:

     

    http://answers.Microsoft.com/en-us/Office/default.aspx

    Office at the above link forums

    http://answers.Microsoft.com/en-us/Office/ee861097.aspx

    Outlook Help Forums at the link above.

    They will help you with your Outlook questions when repost you in the Office Forums above.

    See you soon.

    Mick Murphy - Microsoft partner

  • I can't find the field 'upload file' when creating a web form

    Hi, I can't find the field 'upload file' when creating a web form. This is the site I put for my client home | ServilogEX. And I attach a display of the form.

    Am I missing something?

    Thanks in advance,

    Diego.

    screenshot.png

    Hi Diego,.

    Your site map is too low. I believe that you must 'webMarketing' plan or higher to support downloads of files in the web forms.

  • Cannot check iOS 9.3 during the upgrade process. When there is a good connection internet, says no internet. Tried more than 30 times, even after reboot. Any suggestions?

    Cannot check iOS 9.3 during the upgrade process. When there is a good connection internet, says no internet. Tried more than 30 times, even after reboot. Any suggestions?

    You chose the option in iTunes to download the firmware first and install it in a second time after that?

  • "I bought a new laptop which has a 60 day trial of microsoft office on this subject, I also bought a copy of ' microsoft office and Student 2007 ' however it displays the incorrect product key when I type in the product key on the box of cdrom.

    "I bought a new laptop which has a 60 day trial of microsoft office on this subject, I also bought a copy of ' microsoft office and Student 2007 ' however it displays the incorrect product key when I type in the product key on the box of cdrom.

    Uninstall the trial version, and then install the CD-ROM version.

  • Why do I get an error messege saying that you run lack of disk space on the HP-TOOLS (E :) when there is nothing there?

    Why do I get an error messege saying that you run lack of disk space on the HP-TOOLS (E :) when there is nothing there?   Have cleaned the disc and it shows 0 items

    Original title: HP-TOOLS

    The HP tools partition reports nothing because the files are hidden.

    If you have something to E, out soon. After moving, the "running out of disk space" message stops...

  • the 500 limit applies to all the forms, or only when extended rights are applied?

    I am trying to determine if the '500' on the responses by pdf limit to any PDF, or only those whose extende rights apply?

    The limit applies only when you use Acrobat 11 or before applying usage rights and distribute it to the more than 500 active users. Acrobat DC has no license restrictions.

  • I cannot select the names of the fields calculated field options. When I try to use the simplified field Notation: change, there is no "OK" button after typing my calculation. Why I don't see these features. I have Adobe Acrobat XI - v11.0.13

    I have Acrobat XI and I'm not able to create calculated fields. When I use the value matches the section, then click on choose to select the fields, it does not select unique fields. I can click Select all or deselect all the... but that's all. So I tried using the simplified field notation and click on modify... the Java script box opens. I can type the script... but there is no options down to say OK or cancel. I don't see any of these options. Why I use this feature?

    Kimberly

    To select a single item from list click on it and then press the SPACEBAR.

    The other question is very strange... Try to run a repair installation.

    On 27 October 2015 14:06, "kimberlyf63795453" [email protected]>

  • Display the field when it s a value.

    Hello.

    Am using jdeveloper, 11.1.1.6

    I dragged and dropped my vo as an af:form. I have a field in the t as eedi_alter_intranet_id. I dropped like an Outputtext.

    In my jsff page I need to display this value to my user when there is a value. If the value is null this output text does not display.

    Thank you and best regards,
    Prasad K T.

    Hello
    Allows to hide the output for the Visible EL attribute text
    Ex: visible = "#{bindings." Don't YOURFIELD.inputValue null}
    {code}

    no visible = "#{Bindings.eedialterintranetid.inputValue, null}" id = "ot180" "
    />
    {code}

  • display a region report only when is click on the link in the other report

    Hi friends,

    I have 2 parts of report. In my first report region I'll have a column as a link. I want to show the 2nd report

    region only when the user clicks on the link in the 1st region of report. There is a button in the 2nd area of report I want to show

    This button only when the user clicks on the link in the first report.

    The code of my first report is
    select * from tasks;
    I have a column task_id as link
    f?p=&APP_ID.:10:&SESSION.::&DEBUG.::P10_TASK_ID:#TASK_ID#
    My 2nd report code is
    select * from task_details where task_id=:P10_TASK_ID;
    Help, please

    Thank you

    TJ

    Hello

    Assuming that your users get to other pages using the tabs and that these tabs don't doSubmit() when you click it, you can create a calculation for P10_TASK_ID item, in the point of calculation "after Submit'. It would be an Expression of PL/SQL in fair value NULL

    Andy

  • Marking of fields read-only when signed - unable to untick the box

    Hi people,

    I use Adobe Acrobat Pro XI.

    I have a form with Signature fields that have been set to make some fields read-only once the signature field is signed. I can bring up the Properties window with the list of fields to choose from and can't seem to "Select all" and "Uncheck all" using the button, but can't check or uncheck the individual fields. When I click on a field of what I pointed out but I can not "check" it.

    No idea why this would be?

    Thank you.

    Click on slightly outside and to the left of the box to select/deselect the.

  • Do not display 0.0% as a response to the field calculated

    My field is formatted to % and one decimal place and it show 0.0%.  I would have preferred that it be blank until the two fields are filled, that produce the answer.  I tried to do that with the following calculation and it works until I changed the format of percentage.

    var v1 = + getField("Tons_UsedRow1").value;

    var v2 = + getField("Tons_RequiredRow1").value;

    If (v1! == 0 & & v2! == 0) {}

    var result =(v1 / v2);

    Event.Value = result;

    } else {event.value = ";}}

    Only a digital format of field with currency symbol or percentage symbol and view a null value.

    You use the built-in formatting to Acrobat JS functions to set the field size according to need.

    I would start by the field formatted to 'None '.

    The user you custom calculation script.

    Add custom validation script:

    nDec var = 1; set the number of decimal places; number & percent;

    var sepStyle = 0; style of thousands separator; number & percent;

    var negStyle = 0; negative style; number only;

    var currStyle =""; always null; number only;

    var strCurrency = ""; currency symbol; number only;

    var bCurrencyPrepend = false; prefix of currency; number only;

    var bPercentPrepend = false; percentage of prefix; percent only;

    If (event.value == 0 | event.value == "") {}

    Event.Value = "";

    AFNumber_Format (nDec, sepStyle, negStyle, currStyle, strCurrency, bCurrencyPrepend);

    } else {}

    AFPercent_Format (nDec, sepStyle, bPercentPrepend);

    }

Maybe you are looking for

  • Stop the Firefox autocompleting file location?

    When I enter the URL of a certain site Web NSFW bar addresses, or just part of it, Firefox with two locations of files autocompletes embarrassing. They take the following form: file:///C:/users/[username]/downloads/[embarrassing filename] #_tabcommen

  • Pavilion dv6-3010ej: processor upgrade

    Hello I have a HP Pavilion dv6-3010ej with Core i3 350M, and I'm interested in upgrading the processor. Is it possible to upgrade the processor on this model? If possible, what are the options I have? I prefer Core i7 Your help is appreciated. Please

  • Scanning Photos on computer

    I have a HP Photosmart 7510. I can't scan pictures to my computer, Windows 7 Ultimate, model h8-1090 +. I checked the wireless connection, it seems to be OK.

  • Updates the app world VS. your own updates

    Hi all We are preparing to release our application. My question is, most of you use App World to distribute and update your applications or you roll your own? My other question is, all blackberry models come with App world installed? App world will s

  • HP Pavilion g6-2264sd: adapter replace Ralink Wi - Fi RT3290

    Hello guys,. I recently bought a new router that supports 5 GHz to increase my internet speed. Unfortunately, my HP Pavilion laptop 2274sd g6 only supports 2, 4 GHz. is there a way to replace my network adapter so I'm able to connect at 5 GHz? My lap