Quantcast
Channel: Adobe Community : Unanswered Discussions - Acrobat
Viewing all articles
Browse latest Browse all 73766

help with custom script

$
0
0

I have an easy script that i have to write and I am not an expert.  I have a calculation currently that multiplies one field by another to get a result.  I want to add another field that will act as an OR statement.  For example:  4 days at 20.00 per day equals 80.00 total dollars or 80.00 Flat Fee equals $80.00 Total Dollars.  Sometimes users need daily calculation and sometimes users need flat fee calculation so I want to be able to have both in same formula for one use form.

 

so my form will have a blank number of days and a blank amount per day and a blank Flat Fee.  I want to get Total Dollars by either having Days x Amount per day or Flat Fee.  THere will be no occasion when the Total Fee is comprised of both.

 

How do I write this.  I can get the total dollars by either days x amount or by Flat Fee equals but I cannot write both into the calculation.

 

I hope that makes sense. 

Please help.


Viewing all articles
Browse latest Browse all 73766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>