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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now