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!
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
Thank you Niall but I'm sorry to say that I've made a mistake. I am actually using LiveCycle Designer and there is not a Patterns button under the Field palette. Do you know how I can do this in LiveCycle Designer? I figure I might as well ask you here before I repost in the Designer forum.
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
North America
Europe, Middle East and Africa
Asia Pacific