Confused about If Then Statements
I'm converting a Projected Operating Costs spreadsheet from Excel to Adobe since some of my end users do not have Excel and Google takes away the security features in the document.
I have no experiencing with Java and am really struggling grasping how to write an if then statement for one of the fields.
The Text field needs to look at another field "S2HRFreeCount" and determine if it is greater than '0'. If it is greater than '0' I want it to display the value I have entered in another field "S2HRFreeRate." This rate changes every year so I'm wanting to use it from the field rather then enter the value in the script. Less places to update. If there is no text in "S2HRFreeCount" than I want the field to either be blank or display "0."
My end user does not need to enter a value in field S2HRFreeCount.
Any assistance would be appreciated. I've only started creating Adobe Fillable Forms within the last 6 months so I'm learning as I go. And this is the most complicated component so far.
