Using insert function for collection

@ar1

Hello again.

Do the following…

  1. activate the “Dev-Mode” (developer-mode) in your Wix-Editor.
  2. On the left side you will see a menu, which shows you all the content of your site-project.
  3. Scroll-down to the very bottom. There you will find your DATABASES (Data-Collections)
  4. Now choose the right DATABASE/COLLECTION and look how it is called?

HOW IT IS CALLED? ----> Then you put exactly this name of your choosen DATABASE into your CODE.

This is the name you are searching for!:grin:

wixData.insert("INPUT-DATABASE-NAME-HERE", toInsert)

something like this…

wixData.insert("Quiz", toInsert)

If the name of your DATABASE is —> Quiz