Display Value in PDF Text Field On Condition
Hello,
I am trying to set up a form that will display the word "standard" in a field next to a paired checkbox if checked but otherwise keep the value of what the user types.
Right now, I have this in the custom calculation script for the text field called upper1:
var upper1= this.getField("upper1");
if (this.getField("Check1").value != "Off")
upper1.value = "Standard"
else
upper1.display = display.visible
Is there a different way that doesn't require overriding the value of upper1? I'd like to not overwrite the user-inputted value if possible and just have it selectively display the user value or not. User value could be blank if they don't want it.
Alternatively, I'd like to set it to display the export value of the checkbox when checked and the user-inputted value if unchecked.
