Removing Search Keyword

Hi,

I have a search field wherein i have kept a ghost text (background text) and have applied conditions to bring up certain records in my table grid when I click the search icon. In the preview I just type something in the search field and click on search icon which brings up a fixed set of records everytime in the grid. Now when I click the search icon i also want that keyword that I have typed to be removed and the ghost text to be visible again. How can this be possible. This is a little urgent, please respond as soon as possible.

Hard to follow, but add a Set Text action that sets the search field to an empty value. That will clear any text in it.

Also I need that new text to remain in the field. Currently I am using text change function but in that on typing the background text disappears however I cannot type even any other text. The tool does not let me type and field remains blank. I need to have the ability to type a new text.

Don’t put it in the OnTextChange event. You said it yourself in your post: you want it to go away when you click the search button, so put the Set Text action on the search button click event.

1 Like