Hi guys,
So im trying to create an email verification for a user when they sign up. First page email input, password input then sign up button leading to the next page.
When using Sign the user up function i also generate a random string and add it to the user’s email verification code data type. That data is text. I also already tried making it as number. So the problem is when loading the next page that random number is not displayed. And so obviously API call doesn’t work because it receives empty data somehow. I dont know why its not reading the random string . if i check the user data the number is saved there. Can anybody help with this?
and i know that the user is sign up successfully because on the next page i can see the current user email
Here a short checklist to resolve it:
- Save Data Before Redirect: that the email verification code is fully saved before redirecting to the next page. Add a “Step 1” workflow to save the verification code and a “Step 2” workflow to navigate to the next page.
- Use “Do a Search for”: On the next page, use a “Do a Search for” action to fetch the user data again to make sure you are accessing the most recent data.
- Add a Delay: Introduce a short delay 1-2 seconds before navigating to the next page to ensure data has enough time to be saved and propagated.
- Check Privacy Rules: Verify that the privacy rules for the user data allow access to the verification code on the next page.
- Debug: Use Bubble’s debugger to inspect the value of the email verification code to see if it’s correctly saved and retrieved.