Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
cavalos7
Contributor
Contributor

Hide a Text Object when selecting a button

Hello, comunity!

Im quite new to Qlickview, and i've been struggling with hiding a text object when a button is clicked. Let me elaborate:

I have two buttons that work as a language change, the variable for the button is vDataLanguage and the values por each button are 'ENGLISH' and 'SPANISH'.

I've tried the following in the Layout tam under conditional:

=Only(vDataLanguage) = 'SPANISH'

Howeverthis doesnt semm to work, the object just dissapears and nothing happens when I click the Spanish button.What i want is that this object shows when i click the "spanish"button and hide when the english button is selected.

Could anyone help me out? 

 

1 Solution

Accepted Solutions
Taoufiq_Zarra

@cavalos7 

check that you also changed in Action

attached qvw example

Taoufiq_ZARRA_0-1591035462249.png

 

Taoufiq_ZARRA_1-1591035477781.png

 

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

1 Reply
Taoufiq_Zarra

@cavalos7 

check that you also changed in Action

attached qvw example

Taoufiq_ZARRA_0-1591035462249.png

 

Taoufiq_ZARRA_1-1591035477781.png

 

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉