Can I clear a field on a button click without updating the screen


I am a first time user and am trying to add a comments section to one of my pages. When the user clicks on the comment button the comment gets added to the list but the text is still visible in the text box used to add the comment. I don't want to update the whole screen to clear a comment box.
Is there any way to do so?

I have tried overwrite automation but it did not work.

Hi @Varun, welcome to the community! :smiley: :honey_pot:

I'm happy to help you with this.

To clear the input field after clicking a button, you can add an automation step that updates the variable on the screen to be blank. This is how it would look:

Click on the button and select the Actions tab to add an automation. Select "Navigate" (this is an action to navigate screens or update screen variables):

Select the tab to update the screen variables. Select the variable for the user input and have it update to ="" (which will clear the field):

Hope this helps! Let us know if you have any other questions. :honey_pot:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.