...
ConfiForms Form Definition | ||||
---|---|---|---|---|
| ||||
HTML |
---|
<script> function changeLabel(formName, formId) { if (isPageViewMode()) { AJS.$(formName).find('.i_holdingrow_fld').find('#i_labelfor_fld').html('New label text'); } } function setInitialLabel(formName, formId) { if (isPageViewMode()) { AJS.$(formName).find('.i_holdingrow_fld').find('#i_labelfor_fld').html('Original label text'); } } function isPageViewMode() { return AJS.$('#wysiwygTextarea_ifr').length === 0; } </script> |