How to clear the value of textbox using JavaScript

0
Hi, I am not able to clear the textbox on button click if is clearing but if i click on the textbox again then it is coming up agai
asked
1 answers
1

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.

answered