Hi Memberstack team,
I’m building a course platform in Webflow and currently using your drip script.
I want to switch from time-based drip to progress-based unlocking:
- Lesson 1 unlocked by default
- When user clicks “Complete Lesson 1” → Lesson 2 unlocks
- Same pattern for all lessons
I tried updating via JS, and the script memberstack have given #184 but it’s not working reliably.
What’s the best way to implement this with Memberstack?
Is there a recommended structure or example for sequential lesson locking?
Here's the sandbox link https://preview.webflow.com/preview/tejas-fresh-site-d02fe0?utm_medium=preview_link&ut[…]0&preview=80ac7c36bd8e26341a5c9f0c67c24110&workflow=preview
Thanks!
1 comment
Hey Utsav Soni,
For users who have not completed any lesson, ideally you would want to keep the first lesson unlocked for which you have code to check the data-week attribute's value (i.e. if it is week 1, then keep the first lesson unlocked). But I can't see any element with that custom attribute on the Lessons template page.
You might want to check and add that attribute to support the logic you want to apply and that might help you get started with this. Currently I signed up using a test account but since that attribute is missing, I don't have access to any lessons and all of them are locked on my end.
Let me know once you have added the attribute and double-checked the modified script and if you face any issues, then I can also test on my end to help in troubleshooting.
Hope this gives you some idea.
Please sign in to leave a comment.