Editing text entry - opposite function!

Hi,

I have a little problem with my text entry field. I know when you type in the input field you change the variable but what I want to achieve is the opposite. I want to erase the text in the text entry field.

Example: You have an input field with "555555555" and you have to erase all the text and click on a button (and then a search window will appear), but if I set the default value to the variable associated with the input field ("555555555") and the user erases all the text , the default value will appear and the user will think that he has not deleted the text. I hope you understand what I want to achieve...

Can you help me?

 

3 Replies