One time popup doesn't remember users

Hi ,I’m doing a one time popup using the code in the corvid tutorial ,the goal is to have a popup that users choose the type of client they are,it directs them to secondary lightboxes,where users submit details in wix forms and gain access to the website .

the problem is if you use session storage,the popup always shows again regardless if you’ve succefully submited details or not.
With local storage ,they can close the popup when it first shows,and just go through the website.
how do I get the popup to remember users? And get the popup working as intended ? Thanks!

tutorial

“the problem is if you use session storage,the popup always shows again regardless if you’ve successfully submitted details or not.”

  • → it seems strange, if you follow the guide it should work,
    you sure you did update the session storage after the user go through the
    first popup?
    " With local storage ,they can close the popup when it first shows,and just go through the website."

  • –>you can delete the X button in the lightbox and also click on the lightbox overlay setting and turn off “clicking closes lightbox” so users have to go through it
    “how do I get the popup to remember users? And get the popup working as intended ? Thanks!”

  • —> you can save user data for each session with session storage or save it for all the sessions you open in the browser with localstorage,
    you can also save the data in a customized collection.