You have your site search set up and now you want to snaz it up a little.
View the text file containing this script function
After Placing your Forms Edit Field from the Forms Tool Bar enter the text you wish to display in the Forms Edit Field Properties palette input box marked Text. You can off set the text from the left side of the Forms Edit Field by pressing the enter key to give it some padding, you can also center the text in the Edit Field by adding or removing leading spaces as show in the example below
Your input box will look and act like the example below. The script function checks that the default text is entered and if the user enters something the script will not clear it. Only the default text will be cleared
Did you find this tutorial useful?
Do you want to keep this resource online?
Make a donation to keep gotFusion alive
This page was written by and is maintained by turtle