Hi everyone, How do I set focus on a field in a dialog ? my dialog got 2 fields - dialogPallet and dialogLocation. What i try to do is when I hit OK button and if the dialogLocation textbox is empty, set focus on the dialogLocation text box. my code look like:
if(!location){ this.dialog().formRun().design().controlName("dialogLocation").setFocus(); } I got error : FormRun object not initialised Can anyone help me on this? it is an urgent question. Thanks