Textbox’s are more complex widgets than they let on. In the end they use the context data to fill the textbox value. If the context ‘refreshes’ this repopulates the textbox value. So if you are clearing the value with a Javascript action, you also need to modify the context data in the Javascript action. This is tricky to do and you are much better of doing this with a Nanoflow.