Hi Everyone,
I’m trying to set a role value in the user profile depending on which button someone clicks and which form they submit.
For example, if they click “newly wed” then after they submit their onboarding form, I want to have as a role “newlyWed” but if someone goes through the “vendor” path, I want them to have vendor set as the role in the user table.
The value set in the Role column is without the quotation marks.
For some reason, I do manage to set it and I see it in the user table but then, a few second later, it seems to disappear from the cell and it goes blank,
Not sure where the problem is ?
if you have any pointers, that’d be great.
Thanks