Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
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

Tags (2)
5 Replies
MVP & Luminary
MVP & Luminary

Re: Clear all input box data when user hits Clear button

See here


talk is cheap, supply exceeds demand

Re: Clear all input box data when user hits Clear button

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

Re: Clear all input box data when user hits Clear button

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,

Re: Clear all input box data when user hits Clear button

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

vsabbise
New Contributor III

Re: Clear all input box data when user hits Clear button

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.