[Progress Communities] [Progress OpenEdge ABL] Forum Post: Automatically clearing a textbox when the user clicks in it to begin to type

  • Thread starter Thread starter wsdevuid798
  • Start date Start date
Status
Not open for further replies.
W

wsdevuid798

Guest
I have created a form that has some pre-filled values: so a textbox for name has "Name" in it and also a tooltip "Please enter you name". How can I clear this textbox automatically so that when the user clicks in it, the default value is cleared and the user is allowed to type in their real name? So far what I've done is try to give the textbox an ID (I did this through the form's settings) and pick it up using JS (i.e., document .getElementById( id )). One of the reasons this does not work is that on render, Sf automatically generates a very long string that becomes the ID for the textbox control on the form. Any help will be appreciated. Thanks in advance.

Continue reading...
 
Status
Not open for further replies.
Back
Top