Thanks alot. It works. Since the given situation above is just one example of how users will answer, I am curious how to process all options in the code. options are:
no checks = no fields
c1 = t1
c2 = t2
c3 = t3
c4 = t4
c1+c2 = t1 +t2
c1+c3 = t1+t3 (like above, which works)
c1+c4 = t1+t4
c2+c3 = t2+t3
c3+c4 = t3+t4
if you can indicate whether this is possible and how that argumentation basically works, then I hope to be able to figure it out myself.
It would be better to just connect checkboxes to text fields:
this.getField("Text Field1").display = this.getField("Check Box1").isBoxChecked(0) ? display.visible : display.hidden;
this.getField("Text Field2").display = this.getField("Check Box2").isBoxChecked(0) ? display.visible : display.hidden;
this.getField("Text Field3").display = this.getField("Check Box3").isBoxChecked(0) ? display.visible : display.hidden;
this.getField("Text Field4").display = this.getField("Check Box4").isBoxChecked(0) ? display.visible : display.hidden;