Focusing a text field
I have an input field in a view. This field is not getting focused when the view appears. What I mean is the cursor is not appearing in the field when the view appears and once the user taps on the field, it is focusing. So without tapping, how we can acheive this functionality.
get the AttributeInfo of the Context Node represented by the form element.
IWDAttributeInfo attribute = wdContext.nodeA().getNodeInfo().getAttribute(A.theattribute); wdThis.wdGetAPI().requestFocus(currentAElement(), attribute);
(assuming you an element named A with an attribute called "theattribute")
Hope that helps