I'm sorry if this has been answered, but I can't find the answer anywhere. My site uses multiple databases. I would like for a user to be able to add or update entries in these databases using a form. Is it possible to have a dropdown where the user can select which database the information goes to? I haven't found a way to connect a form to more than one database. Any help is greatly appreciated!
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
yes you can insert values into your collection and set the collection name as a variable something like this...
import wixData from 'wix-data'; // ... let myCollection = $w("#dropdown1").value; let toInsert = { "title": "Mr.", "first_name": "John", "last_name": "Doe" }; wixData.insert(myCollection, toInsert)