Skip to main content
Known Participant
May 14, 2007
Question

Text fields - intial text

  • May 14, 2007
  • 2 replies
  • 609 views
Hi all,

I have discovered Text Fields, and I absolutely love them!! I do have one question, well, actually tow. I would like the initial text (the text that appears in the field) to disappear when the user starts typing. Is this possible?? And, can I change the attributes of the text (font, color, etc)?

Thanks!

Linda - Technical Writer, GUARD
    This topic has been closed for replies.

    2 replies

    Known Participant
    May 14, 2007
    Colum,

    Thanks for your quick reply. Unfortunately, yes, I am talking about expanding text boxes. I was really hoping RH had this capability. And I was really hoping to avoid some end user questions; hopefully they will look before they start entering information.

    Thanks again,
    Linda
    RoboColum_n_
    Legend
    May 14, 2007
    It's something I've found mildly irritating from time to time. If you'd like to add some grist to the mill you could submit this as a wish list item.
    Captiv8r
    Legend
    May 15, 2007
    Hi all

    Ummm, I'm a bit confused by this thread. It sounds like Linda is describing a Form Element. Specifically, a Text Entry field. Colum's answer, which is marked as "The answer" refers to Expanding Text (Which is a Dynamic HTML option).

    I'm confused because users likely would never even consider typing into an Expanding Text area. But they *WOULD* expect to type into a Text Entry Field.

    I'm pretty certain that the prepopulated text could be erased on entry by using some JavaScripting. You should be able to easily control the text formatting of the Text Entry Field using RoboHelp HTML's built in methods.

    Cheers... Rick
    RoboColum_n_
    Legend
    May 14, 2007
    Hi Linda. Do you mean drop down and expanding text boxes? If so, the text you see can't disappear automaticallly when a user starts typing but all you need to do is to select all (Cntl + A) before typing to do this manually. You can also change the font appearance by changing the required style in your style sheet.