Hi,
Please take a look into below code, here in editorExit method, I'm not able to get value in this.vlaue(); even I've tried myForm.getValue('clientCode') and getting "[TextItem ID:clientCode name:clientCode]" in the value.
Please help me to get the text value in editorExit method.
Please take a look into below code, here in editorExit method, I'm not able to get value in this.vlaue(); even I've tried myForm.getValue('clientCode') and getting "[TextItem ID:clientCode name:clientCode]" in the value.
Please help me to get the text value in editorExit method.
Code:
isc.DynamicForm.create({
ID:"myForm",
zIndex:-2,
autoFocus:true,
selectOnFocus : true,
dataSource:"mysetupformDS",
showErrors:function ()
{
validateMandatoryFields(this);
},
fields:[
{
name:"clusterCode",
ID:"clusterCode",
length:15,
required:true,
wrap:false,
title:i18n['masters.client.clientclustersetup.clustercode'],
editorType:"text",
transformInput: function (f, i, v, ov) {if(v!=null){return v.toUpperCase()}},
editorExit:function()
{
var value = this.getValue(); // Please take a look into this line.
}
}
]
})
Comment