Hi - I am stuck and experiencing issues with leveraging a custom state to store multiple values of a data type into a repeating group as part of entering those state values via inputs, before a user is signed up. Is there a way to support this?
MORE CONEXT - I am building a talent profile app and creating a signup flow that involves the user answering several sign-up questions, prior to actually creating the account.
For example:
Steps 1-7, things like “Where do you want to work”, “What kind of work are you looking for”, “What kind of pay are you looking for…”, “What is your job history?”
Then, after all of this is done, i have the user go to a final step of ‘create account’, w/ name, email, etc.
The step in particular i’m having trouble with is the “what is your job history” step. I have only been successful in saving job history records directly to the DB for each record and associated record values (ex: job history, with associated fields, job title, company, desription, strat date/end date). When I try to do this using a state, I get an error and am unable to use a workflow for set state on each value, or ‘make change to thing’ (as i guess that is only reserved for db values. . not states).
Does anyone have tips? I’ve seen some info online that states don’t work for ‘multiple lists’, so it may just be a limitation of bubble.
Lastly, if I can’t use states. . . would it be a workaround to instead just save the job history records direct to the Database, with associated user name as ‘null’, and then later save those records to the user during a subsequent ‘create account’ step?
If so, is there a way to help create a workflow to automatically delete ‘orphan’ job history records, for situations when a user abandons the signup process prior to creating their account and associating these records?
If i can’t figure this out, i’ll end up sacrificing user experience for ‘making it work’, and just move the user signup step sooner in the process. . but this kind of defeats the point of a multi-step signup flow.