Skip navigation
SCEvan
Currently Being Moderated

Textbox Watermark

Aug 12, 2011 6:53 AM

Hi, I am trying to figure out how to make a textbox watermark appear in the empty text field when creating forms in LiveCycle but I can't seem to find the solution. If anyone knows how to do this it would be a huge help. Thanks!

 
Replies
  • Currently Being Moderated
    Aug 12, 2011 7:04 AM   in reply to SCEvan

    Hi,

     

    If you select the textfield and go to the Object > Field palette. Click the Patterns button and tick Allow Null, then type if the message that you want the textfield to show, when it is null.

     

    There is an example here that I am intending to finish at some stage: http://assure.ly/pZ5sOz. Click under the line and type a name.

     

    Also have a look at page 2 in this example (on the righ hand side): http://assure.ly/ewrLMo. This has script in the enter and exit events to change the appearance of the text.

     

    Hope that helps,

     

    Niall

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 12, 2011 7:58 AM   in reply to SCEvan

    Hi,

     

    I was referring to LC Designer. See screenshot below:

     

    Parallels Desktop1.png

     

    Parallels Desktop2.png

     

    Hope that helps,

     

    Niall

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 12, 2011 9:18 AM   in reply to SCEvan

    Hi,

     

    You can also achieve this using script. See the example here: http://assure.ly/gcXx03. This is scripting a null pattern for a dropdown, but you can take a same approach for a textfield.

     

    Niall

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 12, 2011 10:10 AM   in reply to SCEvan

    Make sure you're using a Text Field object and not a plain Text object. Text Fields allow user input and have patterns; Text objects are for static (non-input) text display and do not have patterns associated with them.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 12, 2011 10:31 AM   in reply to SCEvan

    Can you post a screenshot of what your Designer window looks like, similar to what Niall posted?  It's strange that there's no Pattern button.  I'm using Designer 8 and I don't have that problem.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points