Answered
Hello,
I was wondering if someone could tell me if an IF statement in a Formcalc expression would work if you wanted to establish a maximum amount for a field that totals (Sums) other fields. For example, if I wanted to total fields 1a, 1b, 1c, and 1d, is there anything that you could do to prevent a total greater than a specified amount.
I do not want to replace what they enter in the specific fields or display some sort of validation message, only the total. So, let's say the maximum total is 500. If the user enters figures in the given fields, but exceeds the maximum amount, only the maximum anount would be displayed in the total field.
I hope this makes sense. Thanks in adavnce for any recommendations or examples.
here an example of how the calculation could look like in FormCalc.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs