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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

need help on triggers and buttons

Hello Team,

          Need your help on the below issue.

I have two date fileds in my application.

"Field1"contains dates from 1 to 31 ( for e.g jan 2014  has values from jan1 to jan31)

"Field2" contains values from 16th to 15 of next month ( for e.g jan 2014 has values from jan 16 to feb 15)

My requirement is when a user selects values in "field1" , any selections in field2 should be discarded and vice versa.

I have tried actions in button and field triggers in document settings option, but could not achieve this functionality.  Can someone please help me .

8 Replies
MK_QSL
MVP
MVP

Use alternate state for both fields...

tresesco
MVP
MVP

Try like:

Field Event Trigger->Field1->On Select-> Clear Field (Field2)

and vice versa for Field2.

Not applicable
Author

hi manish.. i'm using version 10 . I think it's available from 11 only 😞

Not applicable
Author

Hi tresesco,

                 Unfortunately that did not work. For "Field1" it works fine ( selections are disregarded from field2) .

For "field2"  it is selecting all values from both fileds by default irrespective of my selection.

tresesco
MVP
MVP

Could you post your sample qvw?

qlikoqlik
Creator
Creator

Hi

Store a value in the variable as yes or no

If field1 value  = Field2 value then yes

else no

Thanks and regards

Padma

Not applicable
Author

Hi Tresesco,

                   Issue is with some other date fields which are linked ( which is a mistake) to this two fileds. After making required changes it works now. Thanks a lot for you suggestions & time 🙂

Not applicable
Author

Hi Padma,

               There was a mistake in my applications. There were some unnecessary links which caused the problem. It's fine now. Thanks a lot for your help !