: 4582 | 108609 | 12352

Option for a Field to have its content selected when getting focus 
New idea submissions, commenting and voting are no longer available on this site. Logins have also been disabled.
Use this IdeaSpace to post ideas about Domino Designer.

: 26
: 27
: 1
: Domino Designer
: Fields, property, selection
: Theo Heselmans6409 06 Aug 2008
: / Email
When a user is using a web app (or any app for that matter), and he/she moves from one field to another (e.g. by using the tab-key) the content of the field that gets the focus, is usually selected. The moment the users starts typing, that content is overwritten.
In Notes this has never happened, because the cursor is placed before the first character of the field-content.
I would like an property (checkbox, off by default) to have the field-content selected upon focus.
Many of my users would appreciate this (standard) behaviour.
You can do this programmatically, but this is a lot of work.

1) Steve McDonagh385 (08 Aug 2008)
Oh yes PLEASE! This would be a very good thing to have!
2) Kevin Pettitt832 (08 Aug 2008)
Wow this is freaky. Just yesterday this exact same idea occurred to me as well. Must be some undocumented telepathy feature of Sametime :-).
3) Joseph Hoetzl4703 (15 Aug 2008)
onClick event of the field:


A lot of work?
4) Theo Heselmans6409 (16 Aug 2008)
your solution does not work in Notes, and it only works on clicking. I need a Notes solution, that also works when e.g. tabbing.
There is a 2 line solution, but I don't want to add it to each field.
BTW this works:

Sub Entering(Source As Field)
Dim ws As New NotesUIWorkspace
Call ws.CurrentDocument.SelectAll
End Sub
5) Willy L53 (10 Sep 2008)
The last thing we need is more one-trick-pony options. What if you only want the text selected the first time? What if you only want it selected if the user hasn't changed it? There are too many variables for a checkbox-option to be useful. Consider...

Sub Entering(Source As Field)
Select Case ThisDoc.Description(0)
Case "" , "Enter Description"
Call ThisUIDoc.FieldSetText( "Description" , "Enter Description" )
Case "None"
Call ThisUIDoc.FieldSetText( "Description" , "Description Required" )
End Select

I've yet to come across a requirement to select-all every time a field is entered. I'm not saying it doesn't exist...just not worth complicating the properties dialog with another checkbox. Just code it.
6) Christopher Baier450 (09 Jan 2009)
This would be great. Perhaps only when tabbing from field to field (text, numeric).
7) Christopher Boote6122 (26 Aug 2009)
I have written code to do this so many times that I can do it in my sleep
YES PLEASE let's have it as a default option - for web, client or both


Welcome to IdeaJam™

You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>

XPages - allow view control to select a folder as a data source
Policy to Set File Types to Automatically Create with IBM Lotus Symphony
Explicit Policies
Process pressing of Ctrl+0 in chat window of integrated in LN 8.5 ST client
Switch beetwen opened windows by Ctrl+Tab
Separate frame for folders in navigator
Calendar Repeat Options
Add link to last page for iNotes Ultralite mode
Port the Admin Client multi-database tools to Working Sets.
Enable Editor Access Security on Auto Populate Fields on Group Documents
Enhance - Send Messages to All Invitees - feature in Calendar
Tell us whether LS and "old style" UI improvements will still be made
Live Text in the Browser/Xpages
User defined rules in DCT
Give us back a Lotusphere Europe
In Sametime Meeting, restrict chat to meeting members
Allow developers hide views from View-->>Goto to the end users in a much simple way.
Allow a database to be signed inside Designer
Server Notes.INI Settings Heirarchy

IdeaJam developed by

Elguji Software Logo