Hi, I am able to set focus to a particular textbox onload of a form u

Hi,

I am able to set focus to a particular textbox onload of a form using the below code :
document.getElementById("textControl_fd_component_"+window.FormDesigner.runtimeNamespace+"requestComments").focus();

But this doesn't work for textarea. The page throws an error at run-time. Is it because of "textControl_fd_component"? What do I replace that with?...

OriginalPostID-99124

OriginalPostID-99124

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data