Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Rajalakshmi_Ana
Level 1
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
jantzen_belliston-Adobe
Level 10
Level 10

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

jantzen_belliston-Adobe
Level 10
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.