Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to set hint inside textbox in DateItem

    Hi,

    i need to place hint inside the dateitem not on the side. Can anyone please help me on how to do it

    Thanks

    #2
    Inside? You can setDefaultValue(myHint) and then add a focushandler. Inside the handler check to see if the value is == myHint, if so setValue(""). Not sure that is the effect you want though. Many web apps do something similiar but use light gray text in the box so it is obvious it is a hint being provided.

    Comment


      #3
      The latest nightly of SC supports this with the standard setShowHintInField(true) setting. I don't know how this affects SGWT but it is doable with JSNI at least.

      Comment


        #4
        Cool new add!

        Comment


          #5
          cool tks svjard and davidj6

          Comment

          Working...
          X