Textbox value selection when widget gains focus
Posted: Mon Oct 12, 2020 1:40 pm
I have a user requirement to allow selection of a field value to occur when the user clicks on the textbox widget.
I found this link that refers to two solutions. (See below) The first is the server-level solution (http://www.profoundlogic.com/docs/displ ... t+on+Focus) which would affect all fields on all applications and the second solution refers to "this.focus()" which would be a discrete field sort of solution. This did not work for me either.
Is the server-level solution (http://www.profoundlogic.com/docs/displ ... t+on+Focus) the only way to get the field value selected when the textbox widget gains focus? The goal here is to get the value selected for one field only as opposed to the server-level configuration that affects all fields.
The original post : https://core.profoundlogic.com/forum/vi ... ome#p10997
I found this link that refers to two solutions. (See below) The first is the server-level solution (http://www.profoundlogic.com/docs/displ ... t+on+Focus) which would affect all fields on all applications and the second solution refers to "this.focus()" which would be a discrete field sort of solution. This did not work for me either.
Is the server-level solution (http://www.profoundlogic.com/docs/displ ... t+on+Focus) the only way to get the field value selected when the textbox widget gains focus? The goal here is to get the value selected for one field only as opposed to the server-level configuration that affects all fields.
The original post : https://core.profoundlogic.com/forum/vi ... ome#p10997