Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III
Creator III

Resetting a button after use

Dear Qlikview User

I have an a action on a button which selects a value within a field

Action Select In Field

I would like to know how I could reset the button after the user has clicked on it.   

After resetting the field, the user should be able to repeat the same process

Any ideas

Kind Regards

Helen

1 Solution

Accepted Solutions
adamdavi3s
Master
Master

Hi Helen,


Quick sample file attached for you

Please remember to mark this as helpful or the correct answer if I have helped you or answered your question.

View solution in original post

6 Replies
antoniotiman
Master III
Master III

Hi Helen,

see attachment.

Regards,

Antonio

avinashelite

You want deselect the field in that field using a button ?? if so try to add one more button and set the action to clear in field . If I have get your requirement wrong please explain with example what your trying to achieve

helen_pip
Creator III
Creator III
Author

Hello Avinash

Thank you for responding.  I have tried the technique you suggested

I put in the action Select in Field:

I then put another action action which is Clear In Field

This works, but only works once and the user can not re select the value again

I almost need it to work in a loop

Any ideas?

Kind Regards

Helen

adamdavi3s
Master
Master

Hi Helen,

I'd either do this through a variable so two actions

1- Set variable v_Selected =if(v_Selected =1,0,1)

2- Set field = if(v_Selected =1,'blah','')

Or just use two buttons and hide them alternately so click button one and it makes the selection and it hides button 1 and shows button 2

Button 2 clears the field and hides button 2 and shows button 1

adamdavi3s
Master
Master

Hi Helen,


Quick sample file attached for you

Please remember to mark this as helpful or the correct answer if I have helped you or answered your question.

helen_pip
Creator III
Creator III
Author

Hello Adam

Thank you so much

This really works for me

Kind Regards

Helen