I have a label field and I want to write the label as power of 2. How to use Superscript unicode in ARAS
Example : How to put mm to the power of 2 (mm^2) in text field.
You can superscript text in HTML by wrapping them in a <sup/> tag. The easiest way to add this tag to a label in an Aras form would be to add an onFormPopulated event with code like below to manually update the text of your label
var fld = getFieldByName("Test");
var label = fld.getElementsByClassName("sys_f_label");
label.innerHTML = "mm<sup>2</sup>";
Aras Labs Software Engineer