Problem 3/3 - pop up not working

The last and biggest headache.

My toggles default to untoggled as we need explicit user consent.

What I need to happen:
If user clicks NEXT and the toggles are untgoggled, show pop up.

What condition do I need to create to make this happen?

I’ve tried too many things to even remember at this stage.

I’ve used the ‘text’ rather than the ‘link’ element then underlining NEXT once the required condition is met gives more control for these pages.

For this one, can you provide screenshots?

Here you go. The only states set are on the toggles as the resuable element level.

This condition doesn’t make sense.
If this workflow is triggered by clicking on the “Link next” element, then that means the element is clickable. If the element is clickable, then the “Link next isn’t clickable” condition will never be met and consequently your popup will never be displayed.

You need to eliminate this last part of the condition.

If toggle1 isn’t toggled OR toggle2 isn’t toggled, show the popup and terminate the workflow.

I saw that you put all your conditions in the wrong place…

Create a workflow to run when your button is clicked.

As your first action, display the popup only when the condition below is met:

toggle1 is not toggled OR toggle2 is not toggled

it looks like your trigger is “A popup is opened”

You say you want the user to click NEXT and the toggles are untgoggled, show pop up.

To do this, in the Design editor, click your “NEXT” text element and in the window that opens ensure “This element isn’t clickable” is UNCHECKED then below it press “Add workflow” or “Edit Workflow”. This will take you to the workflow for “NEXT is clicked” then you add your Only when condition to this. the second action in your workflow would be to show pop up.

My screenshot is close to what you have since i don’t have the plugin you’re using.

Thank you so much. This worked

For NEXT to send the user to the next page, I added the reverse condition and go to said page but it’s still showing the popup.

What have I missed?

Hi,

Its working for me

Open the page with debug mode on, toggle on all the toggles and then set the debugger to “Step-by-step” and click NEXT, you should be able to step through and check the conditions in the debugger. The yellow highlighted “Only when” should be green. to look at the values click the blue text the red arrows are pointing to.

Ah, the debugger only shows the first condition for the popup to show

Why is the first condition overriding the second one? Should they be written together under one workflow?

This topic was automatically closed after 70 days. New replies are no longer allowed.