This content has been marked as final. Show 6 replies
Try changing the order of the script statments.
if (TextField2 > 0) then
$.rawValue = TextField2 * 10
$.presence = "visible"
$.rawValue = 0
$.presence = "invisible"
Thank you. This just about has it. The calculation works but only if you click on the NumericField box. Any way that I can set it to calculate automatically? Enter a number in the text box and have it calculate immediately in the numeric box? I know I'm missing something easy...
Is the script in the "Calculate" section for the field and not the "Click" section?
The script is in the calculate section. When I preview the form I can only get the box to function if I have the value set at "User entered - required". Then when I click on the box the calculation works. If I set the box to "Calculate - read only" it does nothing and I can't even click on it to test the calculation.
Does anyone know how or if it is possible to calculate the number of days between two dates in Adobe Designer? For example: date1 - date2 = 10 days) If so, what is the formula? Thanks!!
How many times are you going to ask this question in this forum?
It is also a good parctice to start a new post for an off topic post.