Hello,
I've got a question regarding data being carried forward, I would like to carry forward a number from page one, and on the second page, I would like to input that number in a field, divide it by two, and then round that number up. I was wondering how would I put that into FormCalc to make it compile properly?
Thanks.
On the second page, you could use a numeric field with a calculated value (set the "Object palette > Value tab > Type" property to "Calculated - Read Only" with "Calculation Script" selected) that has a little FormCalc expression like this (that you would set on the field by editing its Calculate event script using the Script Editor palette):
Ceil(NumericField1 / 2)
The FormCalc "Ceil" function will round-up to the next integer. Note that this assumes that "NumericField1" is a unique object name within the entire form.
Stefan Cameron obtained his bachelor's degree with Honors in Computer Science at the University of Ottawa and is a Computer Scientist working on Adobe's LiveCycle server products, in particular on LiveCycle Designer ES for the past 5 years.