If the check-boxes do not have the same name they can be selected at the same time, which is obviously not what you want...
The easiest way to implement this is to give both boxes the same name and the value you want to show as the "Choice value".
Then in the custom calculation script of the text field you just enter:
event.value = this.getField("checkbox1").value=="Off" ? "" : this.getField("checkbox1").value;
I'm realy greanhorn in this stuff so i have problems to understand all what you write
Ok, i give the check-boxes the same name (checkbox1).
event.value = this.getField("checkbox1").value=="Off" ? "" : this.getField("checkbox1").value; is this in one row???
Where and how can I set the value of the textbox? Could you write me this complet script down?
This is the entire script... You just have to make sure you set the export values of the check-boxes to 0 and 100.
You place this script as the custom calculation script of your text field.
:-) as I say, greenhorn! It works!