How to Set Up Separate Brand Profiles Under One User Account for Freelancers Answered
Hi, I was wondering if its possible for one user to have a couple profiles?
What I mean is, that we are building a platform for email marketing freelancers. Imagine a freelancer fills up the information about the brand that he is working with at the time and we give outcomes personalised based on the information he gave. But then, there can be another brand that he is working with, so he could create another profile using the same account for another brand and use both of them.
Let me know if you understood my problem and if its possible to do this
Comments
10 comments
Hey Karolis Vaiginis, I have a couple of questions to understand the use-case better. How are you planning to store the brand information that each user on the site may provide? Is it via some other database solution or via Webflow CMS? How are you planning to / storing the relation between a user and a brand currently?
hmmm, actually I found a way of how to solve my issue, I just need to understand how to save user information that they fill in forms in json format. Can you help me with understanding this?
Is it possible to show on text input of what's been written there before, just by using json? I mean the same way like using custom fields.
Hey @Karolis Vaiginis, yes I believe it should be possible via modifying this memberscript a bit. For example, in this case, you could replace the #5 code with the following:
And make sure you have the necessary attributes on the input fields that you want the json value to populate in. You can give test this out by cloning and making some modifications via this cloneable. I tested it out in a dummy site and it worked. Hope this helps.
ohh, thanks!
Also, I have one more question
I have a group named DNA1 and I want to collect information to it from a couple of different forms in the same page. What I noticed is that it collects the information from one form, but then it ignores another form
what should I do to collect information in one group from a couple of different forms that are in the same page?
here are some looms for you to understand my problems better
https://www.loom.com/share/9747baf6d9374a61a40c9cdc928db108?sid=a510e57f-5922-47ed-992c-49d22b55900b
https://www.loom.com/share/3ee17195bc414e0cbd21b09e93ed1ec1?sid=863ebe9f-97dd-4f6f-b0da-cc7a699c3e63
Hmm I was testing this use-case via this memberscript in a dummy site by having multiple forms for adding groups in JSON and it seems to work fine and stores all information in the group 'project' in my case.
Karolis Vaiginis, I tested your first use-case (updating a json group with different forms) in a dummy site and it worked perfectly as required. So I gave a deeper look at your site and found that there is a typo in the second form where you have to set the attribute as ms-code-json-name. I have highlighted the attribute in the screenshot as well. Please edit the attribute and publish the site and test your first use-case out. Let me know if it solves the issue.
Karolis Vaiginis, and for the second use-case. Since your use-case is of a group, I have further modified the #5 memberscript to adapt to it.
I have tested it out with a dummy site and it works accurately.
You can replace the #5 code with the following:
Let me know if this solves your second use-case as well.
uuu yes, the first use case worked!
oh yes, the second worked great as well!
what if I have two different groups, but both of them collect the same info inside. For example DNA1 group collects "audience" and DNA2 group collects "audience"
I just tried putting second group on the little form, and tried calling out "audience" (from the second group), but it gave me of whats written in the first one.
Is it possible to fix this?
I'm sorry for these random quests:D but its really important for me
I should probably just give a different name
it will be easier
In that case, you could loop through the list names and then loop through each text element via the script. Currently the code works for DNA1, if you want to add-on to it, you can modify the code accordingly.
true thanks, no more questions from me today
Please sign in to leave a comment.