Online demo to demonstrate how to use ConfiForms Field Definition to change the field's label
<script> function changeLabel(formName, formId) { if (isPageViewMode()) { alert(AJS.$(formName).find('#i_holdingrow_fld').find('#i_labelfor_fld').html('Text for checked change field')); } } function isPageViewMode() { return AJS.$('#wysiwygTextarea_ifr').length === 0; } </script> |