Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Cursor should come to that filed, if user deosn't enters it

Hi Team,

I want to make the cursor should placed on that perticular place, when the user doesn't enter any value for that field.

I wrote the below code, It showing the inputfiled as red, but the cursor is not coming to that field.

String firstName = wdContext.currentContextElement().getFirstName();

if(firstName == null){




Can any help me on this.



Former Member
Not what you were looking for? View more on this topic or Ask a question