1 person found this helpful
Is this what you are after? I used a radio button exclusion group rather than check boxes, although I made the radio buttons appear like check boxes.
Steve, thanks so much for the reply recommendation. Yes, your recommendation worked well in performing the task I wanted.....but, unfortunately it is preventing another script that I had wanted to implement as well. I am sure that there is a way to do both, but I don't know how to script it. Here it goes:
the numerical field that is controlling the radio buttons iteself needs to be calculated by values which i input into other numerical fields. Basically, I need the numerical field (which you have named "nf") to be calculated via the following script:
nf.rawValue = (29.7) * DropDownList5.rawValue * DropDownList5.rawValue * NumericField5.rawValue * DropDownList13.rawValue
I am attaching both a copy of the form as well as a sample of what the completed product looks like.
To re-iterate, I need the Field called "nf" to be calculated based on values pulled from the fields mentioned above in the formula, and I need that finished product value to control the radio boxes as you have already done.
FYI, if it would be easier for scripting purposes, the above script is for this:
GPM Flowed = (29.7) * (Orifice Flowed)squared * square root(Flow Pressure) * (Nozzle Coefficient)
Thanks again for taking the time to script exactly what I was needing for the radio buttons.
You're welcome. I added a second numeric field. nf1 is user-entered optional. nf2 is calculated read-only field to mimic your form. nf2 simply takes the value of nf1. I moved the radio button logic to the calculate event of the radio button exclusion group to produce the results below. I think that is what you are after. The updated form is attached.
Worked great sir! Thanks again for your assistance.