Hello I'm using a form with multiple checkboxes. The checkboxes work fine when applying rawValue.
The issue I'm having is when a checkbox is unchecked.
This happens when my client makes an error by clicking the wrong checkbox.
As they uncheck the box my all the text box information is removed and the client must hit the reset button.
How can I add the following functions?:
- Unchecked boxes will not all the previous information from text box field, it only removes the information applied to that checkbox.
- When one of the checkboxes is marked the Check box labled "None" is cleared.
Here are my settings:
topmostSubform.#pageSet[0].PageArea1.#subform[0].CheckBox6::change - (JavaScript, client)
if (this.rawValue == "A1"){
TextField7.rawValue = "• Avoid animal exposure; remove carpet, and clean bedding often" + "\n" + TextField7.rawValue;
}
if (this.rawValue == "0"){
TextField7.rawValue = "";
}
if (this.rawValue == "A1"){
topmostSubform.Page1.Trig.RowTrig.Triggers.rawValue = "Animal dander/Dust/Mold/Cockroach" + "\n" + topmostSubform.Page1.Trig.RowTrig.Triggers.rawValue;
}
if (this.rawValue == "0"){
topmostSubform.Page1.Trig.RowTrig.Triggers.rawValue = "";
}
if (this.rawValue == "A1"){
topmostSubform.Page1.Trig.RowTrig.Avoid.rawValue = "• Avoid animal exposure; remove carpet, and clean bedding often" + "\n" + topmostSubform.Page1.Trig.RowTrig.Avoid.rawValue;
}
if (this.rawValue == "0"){
topmostSubform.Page1.Trig.RowTrig.Avoid.rawValue = "";
}
Thank You,
Arnold