setItemLabel

sets the label of an item

void setItemLabel(string name,string value,string label);

Parameters

namestringthe name of an item
valuestringthe value of an item (for a radio button)
labelstringa new label (an empty string if you want to remove the label)

Example

myForm.setItemLabel(name, "New Text");
myForm.setItemLabel(name, value, "New Text"); // for radio button

Back to top