Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Clear all input box data when user hits Clear button

Hello All,

I have a dashboard where I am accepting some values from users in input boxes and filtering the data using those values. But when user hits clear button in Qlikview, it only clears the applied filters but the entered values in input boxes remain as it is. I was wondering if there is a way (may be a trigger/condition) to clear the input boxes as well when user hits the clear button.

I tried implementing the method from this video: Clear All Document Event in QlikView - YouTube

But somehow it is not working as expected. The input boxes clear out when I make my first selection after clearing all the filters.

Any help would be appreciated.

Thanks,

Aniket

5 Replies
Gysbert_Wassenaar

See here


talk is cheap, supply exceeds demand
Andrea_Ghirardello

Take a look at the example here:

Test_Input_Field.zip

It contains a macro that shows you how to clear input field.

Not applicable
Author

Hello Andrea,

I appreciate your help but can you elaborate please? I couldn't find macro in the attached qvw. May be I am looking at wrong place.

Thanks,

Andrea_Ghirardello

Open the .qvw file, press Ctrl+M (Edit module window opens) and then search the "ResetInputField" sub.  

vsabbise
Creator
Creator

Is there a way to achieve this in Qlik Sense ?. I want to clear all the text in the input box with a button or other way.