cancel
Showing results for 
Search instead for 
Did you mean: 

Set focus on User Id field in form

Former Member
0 Kudos

Hi All,

I need to set the focus to the UserId field in the Form i.e. when the Application is run then the focus should go to UserId field.

Plz help.

Regards

Nikhil Bansal

Accepted Solutions (1)

Accepted Solutions (1)

sid_sunny
Contributor
0 Kudos

Hi Nikhil,

Try this I am sure this will work:

IWDAttributeInfo attribute = wdContext.getNodeInfo().getAttribute(IPrivateItemListBoxCompView.IContextElement.A);

wdThis.wdGetAPI().requestFocus(wdContext.currentContextElement(), attribute);

Here I have define a value attribute "a" of type string under my context node.

<b>Do reward points if it works.</b>

Regards

Sid

Message was edited by:

siddharth chauhan

Former Member
0 Kudos

Thanks again.

Nikhil

Answers (1)

Answers (1)

abhijeet_mukkawar
Active Contributor
0 Kudos

hi ,

I am not sure, bt I think it is not supported in Web Dynpro.

regards,