I need to add same label for different fields.
Lets say I have 2 choice fields. I need to show same label on the form say “Add New Row” for both of them.SharePoint restricts me to keep 2 same labels.
// NewForm or EditForm
$("#dffs_NAMEOFCOLUMN").find("td.ms-formlabel nobr")[0].childNodes[0].nodeValue = "Add New Row";
// DispForm
$("#dffs_NAMEOFCOLUMN").find(".ms-standardheader").text("Add New Row");
Change “NAMEOFCOLUMN” to your field internal name.