after a member signup to my wix website they will be redirected to the wix members page and fill out a form after completing the form the form will not show up anymore.
Hello,
wix-storage API is u sed for storing local, session, or memory key/value data in the visitor’s browser.
https://www.wix.com/corvid/reference/wix-storage.Storage.html
In the Creating a One-Time Popup tutorial you can see an example of its usage, adjust it to your needs and implement it on your site.
You could also just check the value(s) entered by your site members in a database collection and collapse() the form on the relevant page.
Hi @hhoopp121
You can create a database with two main fields, one of them is a reference field to members collection ( Members/PrivateMembersData ), and the other one is a Boolean field to indicate if the user has already filled the form, then create a function that runs on users’ login.
Use Wix-Users onLogin() API to achieve this.
This function will check the database upon the user’s login and see if the user has already filled the form, and if he/she hasn’t, redirect them to the page where you want them to fill the form, or open the lightbox if it is on a lightbox.
Hope that helped!
Ahamd
hi ahmed,
thank for the response it really helps but can you show me how will i set up the codes on corvid?