Here is what I want to do:
I have a CheckBox field and a Text field. If the checkbox is "checked" I want to populate the text field with a specific numeric value. If it is left "unchecked" there would be no value or 0 value. Any help is appreciated.
Enter this code as the custom calculation script of your text field:
event.value = this.getField("CheckBox1").value == "Off" ? 0 : 1234;
Perfect. Thank you.