Forum Discussion
_anomDiebolt_
11 years agoQrew Elite
For some reason the HTML <label> generated by QuickBase for the label has no text. Since you only have two fids in your loop you could either remove the loop and inline all the statements or keep the loop and insert logic that will supply a hardcoded label value:
//label = $("label[for=_fid_" + fid + "]").text();
if (fid == 8) {
label = "foo";
} else if (label == 9) {
label ="bar";
} else {
label = "missing!";
}
//label = $("label[for=_fid_" + fid + "]").text();
if (fid == 8) {
label = "foo";
} else if (label == 9) {
label ="bar";
} else {
label = "missing!";
}