Expand my Community achievements bar.

if I click on Button2(2nd Back button), Rule1(event-based rule created for the button1) gets triggered.

Avatar

Level 1

Hello,

Hope someone can help me out.

I implemented event-based rules for four back buttons for a single page application.

1518232_pastedImage_4.png

This is how the button is. Similarly, we have it in the succeeding four pages. And, I have created event-based rules for all of these.

It goes like

Button1 - Rule1, Button 2 - Rule2, Button 3 - Rule3, Button 4 - Rule 4

The issue is if I click on Button2(Back button), Rule1(event-based rule created for the button1) gets triggered.

Similarly, if I click on Button3, Rule2 gets triggered. Can it be due to bubbling? Please suggest what can be done?

Thanks,

Rajalakshmi

4 Replies

Avatar

Level 10

Can you share a URL of your page so that other community members can view the implementation?

Avatar

Level 10

It looks like that URL requires a username and password to get to the site.

Without seeing the site, It sounds like your rules aren't specific enough. Can you share a screenshot of how you've setup the conditions for your event based rules? Also, it would be helpful to see the source code of your buttons.

Avatar

Level 10

Any updates here? Were you able to gather the requested items?