Is there any equivalent of canFocus for formItems? I'm thinking I may need to override "focus" to return false but I don't really want to do that unless I really have to. I've tried the following code but the fields still receive focus when I tab through the elements
Code:
isc.DynamicForm.create({ID:"account$gridWrap",width:150,titleSuffix:" ",titlePrefix:"", canFocus: false,titleOrientation:"top",rightTitlePrefix:"",requiredTitleSuffix:"*", requiredRightTitleSuffix:"*",requiredRightTitlePrefix:"",fields: [{title:"<nobr>Account Number <\/nobr>",titleStyle:"textBodyLight",width:150, ID:"account",name:"account" ,canFocus: false,errorIconSrc:"\/cwf\/r\/cwfv\/error.png",_constructor:"TextItem"}]}); isc.DynamicForm.create({ ID: "boundForm",top:200, fields: [ {name: "password",canFocus:false, _constructor: "TextItem"}, {type:"text", name:"testtext"} ] });
Comment