I believe when you say tab order you mean both focus and access.
The code below, attached to the exit event of the drop-down, checks if "CPFF - Cost Plus Fixed Fee" was NOT selected. If it was not selected I change the access property of ProjCost, FixedFee and Total to "readOnly" and set the focus to TextField1. Otherwise, tab order is enforced and ProjCost, FixedFee and Total are made user entered - optional by setting the access property to "".
// form1.#subform[0].Table3.Row1.DropDownList1::exit - (JavaScript, client)
if (this.rawValue != "CPFF - Cost Plus Fixed Fee") {
Table3.Row1.ProjCost.access = "readOnly";
Table3.Row1.FixedFee.access = "readOnly";
Table3.Row1.Total.access = "readOnly";
xfa.host.setFocus(TextField1);
}
else {
Table3.Row1.ProjCost.access = "";
Table3.Row1.FixedFee.access = "";
Table3.Row1.Total.access = "";
}
Steve