Hi,
As mouslander said when you add radio buttons to a group, they will all work exclusively (only one can be selected)
As for your other question.
In the exit code of each textfield you need to test for null. For example, if the field is not null (contains something) then disable the other text field. You should also add code to enable it to if the field is cleared (null)
form1.#subform[0].tfEIN::exit - (JavaScript, client) //EIN textfield exit event
if (this.resolveNode("$").rawValue != null) {
this.resolveNode("tfSSN").access = "protected"; //if this field contains something, disable SSN text field
}
if (this.resolveNode("$").rawValue == null) {
this.resolveNode("tfSSN").access = "open"; //if this field doesnt contain something, enable SSN text field
}
form1.#subform[0].tfSSN::exit - (JavaScript, client) //SSN textfield exit event
if (this.resolveNode("$").rawValue != null) {
this.resolveNode("tfEIN").access = "protected"; //if this field contains something, disable EIN text field
}
if (this.resolveNode("$").rawValue == null) {
this.resolveNode("tfEIN").access = "open"; //if this field doesnt contain something, enable EIN text field
}