Hi,
I have a rather simple question. I am trying to set a label as a header in every form. On stage I am trying to set the label to stage.caption and on action to the action.caption.
I have managed to this with a simple javascript but the label changes the font to som kind of form standard. Is there an easier way to write to a label. Can I do this serverside?
This is my javascript function directly wrapped from 7.6: ltext is a calculated field with the action or stage caption.
function Header_OnLoad()
{
var headerlabel = eworkGetField("ltext");
document.getElementById("lheaderlabel").innerText = headerlabel;
}
Appreciate any help,
Best regards,
magnus