Oct 14, 2013, 3:49 PM
[CLOSED] Not able to change field label separator dynamically
Hi,
I am setting required fields dynamically. so that i want to indicate red * symbol along with the filed label. I use label separator for that.
Thanks in advance.
I am setting required fields dynamically. so that i want to indicate red * symbol along with the filed label. I use label separator for that.
var setAllowBlankField = function (obj, condition) {
if (obj != undefined && obj != null) {
obj.allowBlank = condition;
obj.labelSeparator = obj.allowBlank ? "" : "<span class='red'>*</span>";
}
}
I debug the script, the value updated the separator. But I was not able to see the change in the screen. Is there any function to update the view like "reset"?Thanks in advance.
Last edited by geoffrey.mcgill; Oct 15, 2013 at 4:33 AM.
Reason: [CLOSED]