CAN DATA BE SUBMITTED INTO TWO DATABASES?

Hello Wix Code,
I was just wondering if data that users input can be submitted into two databases instead of just one? For example, if a user inputs their name, the name is saved onto two databases. Thanks in advance to anyone who responds!

-Pawtalog

Hi Pawtalog,

this subject has been discussed in this forum before. there are examples how to do it on https://www.wix.com/code/home/forum/questions-answers/how-to-insert-a-data-in-two-collection-from-a-form

Shlomi

Hi Shlomi,
thanks for the link but I have 0% knowledge of anything code related. I really just signed up for Wix Code to add some cool features to my site, but my coding and technical skill is pretty bad. Could you explain to me how to do add this feature? I checked out the links that were posted in the discussion like the afterinsert link and a few others, but I don’t understand.

Hi Pawtalog,

Wix code assumes you have coding skills to some extent, matching the complexity of what you want to build, or the will to learn code to accomplish that.

This specific example is a bit complex and requires some code as you can find in the link above, however you can look for a professional to help you out on Wix Arena

Good luck,
Shlomi

Hi Shlomi,

Good day,
I hope you’re in a good health.

Sorry to interrupt.
I already successfully do the adding item in the same owner ID (_owner) , now my only problem is how to display the added item into the repeater.

Thank you for your help.
Geo

1 Like

Ho Geo,

so you might end up that professional in the arena offering your services to other developers :slight_smile: i am sure other would love if you share your code!

please note that any field with square brackets [xxx] means you inserted data to a column which is not a part of the schema (you didnt create a field under that name but did insert data)
this is how the owner field looks like, without the brackets:


this is why the repeater could not find the data
Shlomi

Hi Shlomi,

Good day!
How about, I will create a regular field,
and put all owner ID (_owner) there and display call field key and display into a repeater, is that doable?

if so, could you please give some example code that show to display all item in a repeater using a field key?

Thank you,
Geo

1 Like

Geo,

sorry, i did not understand what you are trying to achieve and why. specifically what are you trying to achieve with the owner data

can you please open a new thread for that with more context?
thanks,
Shlomi

Hi Shlomi,
Thanks for the response. I’ll check out the Wix Arena.

Hello everyone. I’ve re-opened this thread because I still need help. I ended up forgetting about submitting data into two collections, but I have recently run into some problems and really need this feature on my site. Can someone explain to me how to submit data into two databases? I would like to learn how to do this with simple step-by-step instructions. Thanks!

1 Like