How can I put a mathematically if - formula in a field of a pdf - form?

Hello together,
I am absolutely unexperienced with JavaScript.
I have to implement formulas into a Form.
In one field I have to add field a and b - but the result should be displayed only, if the result is positiv.
In the next field the result has to be displayed, when it is negativ.
this has to be done in about 15 rows and at the end of every row is a resulting field which multiplies the negative or positive number with a price.
And .. to sum up two more things, I have to add up all numbers which are positive and all numbers which are negative.
I am quite sure, that this is not really difficult - but it is for me.
It would be great, If anybody could help me.
Thanks in advance.
Klaus

I understood the situation, but let me give you some more detailed advice. So you set the following setting as the Calculate option for fields 3 AND 4:
For "Field 3" you use the following as the custom Validation script:
And for "Field 4" you use this as the custom Validation script:
The results are:
You can find the file here:
https://files.acrobat.com/preview/c00025e0-8bfb-46d7-9ac9-300e87578333

Similar Messages

  • How can i put more than one item in a same row of a form?

    guys!
    it seems item is positioned in a single row one by one each time item is appened to a form. i can't append more than one item in same row.
    i'm using sun wtk and default colored phone emulator.
    xxxx

    Hi,
    It is not possible to have more than one combo in the source frame. This is because frame drivers can take only
    two columns in the sql query, one is the display value and the other the return value.
    Thanks,
    Sharmila

  • How can i put mandatory fields in my selection screen

    I am having Sales Office,Sold to Party,Sales document Number,Sales Group,Date of Creation,Name Of The Person Who Creat and Short Text For Sales Order in my selection scrren.How can i put sales office and sold to party fields manadatoty input fields at selection sceen.

    hi,
    Use obligatory keyword while you are declaring the fields of selection screen.
    Example for the same is :
    Obligatory
    e.g Parameters p_id like vbak-vbeln obligatory
          Select-options s_vbeln for vbak-vbeln obligatory
    I hope this will solve your problem.
    Thanx.

  • How can i put apps from one ipod to a new ipod?

    how can i put apps from one ipod to a new ipod?

    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • How can I put my icloud photos to camera roll or photo stream?

    I got a nee iphone, i backed up everything and restored it into mu new iphone, but the pictures didn't restore so i did it manually but now on my phone i got different albums icloud photo stream and camera roll. How can i put the icloud picture into camera roll or photo stream. Any ideas?? On my old iphone ive deleted everything.

    Hello Ozzie94,
    Thanks for the additional information. The camera roll is designed for photos taken on your device, or saved images from Mail and other applications. Photos synced from a computer are organized into their own album(s):
    View photos and videos - iPhone
    http://help.apple.com/iphone/7/#/iph3d267610
    - Camera Roll—photos and videos you took on iPhone, or saved from an email, text message, webpage, or screenshot
    - Shared photos and videos—Photos and videos that you’ve shared with iCloud Photo Sharing or that others have shared with you (see iCloud Photo Sharing)
    - Photos and videos synced from your computer (see Sync with iTunes)
    Additionally, you may find more information by using another one of Apple's support resources - https://getsupport.apple.com
    Thanks,
    Matt M.

  • How can I put my podcasts in one place and my music in another?

    How can I put my playlists on my NAS media server (Buffalo Linkstation mini) so I can access them through Home Sharing and Sonos?  FYI, right now I run my iTunes with media location on my laptop's c: drive so I can manage podcasts while on the go and map a lettered network drive to the media server device when I connect up at home.

    Duplicated: https://support.mozilla.com/en-US/questions/886179

  • How can i put my itunes library from an old mac g4 10.4.11 to an ipod2?

    How can i put my itunes library from an old mac g4 10.4.11 to an ipod2?

    Install iTunes 9.2.1 on your computer. If the device's requirements specify iTunes 10 or newer, you need to purchase Mac OS X 10.5 on DVD.
    (63879)

  • How can i put photos from my mac to my ipad touch

    How can i put photos from my mac to my ipad touch
    I have them in an album.
    Thanks for your help

    See:
    iOS and iPod: Syncing photos using iTunes

  • On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?

    On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?
    In my current Firefox, the "new tab" icon/item from the "customize" pop-up window menu of items is placed next to my home, back, forward buttons near the top-left of my header (Button 1 for "new tab"). Then, the tab bar automatically come with a small tab (with a + sign) to the right of your last tab opened (so you click on + and a new tab opens. Button 2 for "new tab"). I like to have this "new tab" button twice (as a + mini tab, and next to my "home icon".
    When I upgraded to Firefox 4, I seemed to be only able to "customize" or use the "new tab" in one place. Either as an icon next to home button, or as a "+ minitab", but NOT both.
    What can I do to put this button in Firefox 4 on BOTH places???
    Your help is really appreciated. I want to upgrade, but I want my buttons on both places...
    I upgraded to FF 4, but downgraded again just because this feature... that's just me of coarse :-)

    *New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

  • How can I put a .pdf (or table) in iWeb that one sees on the web site on a web page without downloading?

    How can I put a pdf (not downloadable, but viewed on the website) or a table in iWeb?

    If it's a one page PDF file just drag it onto the webpage and resize to fit. If it's a multi page PDF file you can add it as in this demo page: Scrolling Text Box
    OT

  • How can I put my recently purchased iTunes movies on to my thumb drive and WD My Passport external hard drive. My Mac keeps saying "can't be copy because it is too large for the volumes format

    How can I put my recently purchased iTunes movies onto my thumb drive and WD my passport external hard drive.My Mac is saying that can't be copied because it is too large for volumes format

    [file] is too large for the volumes format
    That is usually an indication that the Volume was never Erased or Partitioned for GUID partition table and Mac OS, and is still in a Windows format.
    Mac OS X Extended (journaled) has no such file-size limitations

  • I have ringtones on itunes how can I put them on my iphone 4

    I have ringtones on itunes how can I put them on my iphone

    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.  Use your backup copy to put everything back.
    If for some strange reason you have failed to backup ( not good at all), then you can transfer itunes purchases from an ipod:  File>Transfer Purchases

  • I have three different listings for Bob Seger on my iPod (bob Seger, Bob Seger System and Bob Seger and The Silver Bullet Band) How can I put all 3 in the same artist folder without changing artist name?

    I have three different listings for Bob Seger on my iPod (Bob Seger, Bob Seger System and Bob Seger and The Silver Bullet Band) How can I put all 3 in the same artist folder without changing artist name?

    Can you just create a new "Playlist", name it Bob Seger and drag what you want into the Playlist.
    File/New Playlist

  • Okay so i recorded a song but each part comes out as like take 1, i have 10 takes. how can i put them all together as one take, to make one song all in one take not small pieces of a song.

    okay so i recorded a song but each part comes out as like take 1, i have 10 takes. how can i put them all together as one take, to make one song all in one take not small pieces of a song. like i hit record and sang the entire song but when i hit play it was in pieces not just one song like it was in ten takes. is there any way i can blend it all into one take, to make one clear song?

    You're not very clear in stating your problem. Maybe it's terminology: "takes" in recording lingo (and in GB lingo) are different version of exactly the same part in a song, so you only want one of them in the end. Please tell us exactly what you did and what it is that you don't like.

  • How can i put my videos on the ipod classic

    how can i put my videos on the ipod classic

    See these 2 articles.
    http://support.apple.com/kb/ht1333
    http://support.apple.com/kb/HT2729
    B-rock

Maybe you are looking for

  • Error while calling the EAI Viewer

    Dear all, I am working on Document Management System ECC 6.00 I am able to upload a PDF document in to the system, but when i save it and try to call the document back it is giving me the folllowing error."Error while calling the EAI Viewer" But when

  • Tethering advances to next shot

    Hi guys, I am having issues and I don't know if this is a feature. It seems to come and go with different releases of lightroom. When I am shooting tethered using either auto import or lightroom tethering the viewed image is automatically updated to

  • Manual Running Total won't Reset

    I've created the following formulas to create a manual running total.  However, I can't get the total to reset.  Instead, the total gets added to each time the group appears.  What am I missing?  GROUP 1 HEADER  ================ //placed this in grou

  • Hoy can I change the info in Apple id already created to  not include a crédito card

    How can I modify an Apple tu use it  without a credit card

  • Setup SSL on ABAP : the issuer certificate is unknown

    Hello, I've been asked to set up the SSL on SAP 6.20 web applications servers (4.7). I've carefully followed the instructions given in sap note 510007 : sapcryptolib installed, parametres configured, SSL server PSE configured, etc .. Now, we have to