+1-888-365-2779
Try Now
More in this section

Forums / Suggestions / Forms - Text Input Clear Predefined Value on Focus

Forms - Text Input Clear Predefined Value on Focus

4 posts, 0 answered
  1. Chris
    Chris avatar
    16 posts
    Registered:
    21 Jan 2011
    21 Feb 2011
    Link to this post
    It'd be nice if there was a nice way to have the predefined value clear out of a form textbox if the user focuses it. Or maybe a way to define a textbox 'hint' seperately that shows a value in the textbox until the user focuses it.
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    06 Dec 2016
    22 Feb 2011
    Link to this post
    Hello Chris,

    Thank you for contacting Telerik Support.

    Can you please tell me what functionality you want to achieve with such feature, so that I can elaborate more on your use case?

    Concerning the "hint" on mouse hover, you can take a look at this blog post which explains how you can use the DefinitionsManager class to substitute the example text beneath a textbox with text visible upon hovering over the a question mark image.

    Greetings,
    Boyan Barnev
    the Telerik team
  3. Greg
    Greg avatar
    1 posts
    Registered:
    19 Feb 2007
    27 Apr 2011
    Link to this post
    Chis is asking how to do watermarks.

    Like you see down in the demo section on this page.

    Do you have an example anywhere of doing watermarks on form fields?
  4. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    06 Dec 2016
    02 May 2011
    Link to this post
    Hi Greg,

    Thanks for the clarification. In that case, I believe this forum thread might be useful. If you need any additional information, please write back.

    Regards,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered