This topic is locked

select contents when in focus

8/3/2022 5:59:43 PM
ASPRunner.NET General questions
T
Tim author

Hello,

I have a list page in spreadsheet mode. This page is used on a tablet device. When the user "clicks" (or touches, in this case) in a text field I'd like to select the contents of that field. This is so they can edit it without needed to backspace to delete the contents. I imagine this might be accomplished with a field event, but I haven't been able to figure it out.

Any tips?

Thanks,
Tim

Sergey Kornilov admin 8/3/2022

Yes, you should be able to achieve this with the help of Field Events and jQuery. Check this article for inspiration.