Ok, I haven't been able to figure this out and need more assistance please.
At this point I have found the following script which I have placed in the "Custom Calculation" area of the field.
event.value=this.getField("TotalLinearFt").value*145;
As of now this script preforms the calculation and populates the field.
I think you understand this already but to reiterate, I would like to have the field blank when a check box or radio button is unchecked and populated when it is checked or selected.
I am thinking I need another piece of script that links the check box to the code and it's respective field?
Net/net, currently upon selecting the check box the field doesn't populate with the calculation automatically. I don't know how to link the selection of the Check Box or Radio Button to trigger the action of filling the field with the calculation.
No, that's not what you said before... I asked: Is the calculation dependent on the value of the check-mark? If so, how?
You answered that no.... Now you're saying that the value of the text field is dependent on the value of the check-box.
To do that you should use this code:
if (this.getField("Checkbox1").value=="Off") event.value = "";
else event.value=this.getField("TotalLinearFt").value*145;
Change the name of the field in the first line of code to match the actual one, of course.