Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Position the cursor at start of text on setFocus?

Avatar

Level 1

Hi,

I have a rich-text Text Field that contains more text than fits in the viewable area. On docReady, I want to setFocus to the text field - but I want the cursor placed at the beginning of the text in the field. The default behaviour for setFocus places the cursor at the end of the text.

Thanks! 🙂

0 Replies