I need to calculate a formula of a given field, only if another field is filled first

I have 3 domains that need to interact with them.  "" "VNP1" needs to calculate "ColumnInches" x 14 x.395, but only when ""VNRD1 "is filled."  How would I do that with javascript?

Use this code in the custom calculation of VNP1 script:

if (this.getField("VNRD1").valueAsString=="") event.value = "";
else event.value = Number(this.getField("ColumnInches").value) * 14 * 0.395;

Tags: Acrobat

Similar Questions

Maybe you are looking for

  • I can't download mozilla firefox.

    In the race I click current user, but it does not work. Can you help me?Thank you

  • New filter: sending a copy to another email address?

    Dear Thunderbird support team, I wanted to set up a filter to send a copy of the email from a particular sender to another address of e-mail (in the same company), but I have not found such option. There is only a possibility to transfer mail to anot

  • Oddity of the shared computer

    I am running compressor 4.2.1 on my 2.26 Dual-Quad Mac Pro 4.1 with 64 MB of RAM to work with files of FCPX 10.2.2 with Yosemite (10.10.5). I have a 2.53 GHz MacBook Pro I have successfully implemented as part of a shared computer in the compressor.

  • Where can I get a service manual for svl24116fxb

    I would like to purchase a Service / Repair for my Sony Desktop SVL24116FXB manualI do most of my own repairs and need a manual for my machine.You can direct me to where I can buy one? Thank you Steve

  • Clear a picture in paint

    Is there a way to brighten up a photo in microsoft paint? My company has ONLY this program for any type of photo editing :( Thank you all.