Hi,
I have a form on my web page with a drop-down list as one of the fields. I want to connect this field with a column from my collection which is already created. I click on this drop-down element, then “Connect to Data” and here I have to see “Connect a dataset” to connect it to my dataset, but I don’t have it.
![](https://us1.discourse-cdn.com/wix/original/3X/0/b/0b3c57415137cfb9029338aa4012c01d7a027126.png)
Instead of this, I have the following:
![](https://us1.discourse-cdn.com/wix/original/3X/0/c/0cd93ef56a3fbb4d69750b808842cfe05fa6a3ae.png)
I also added a Content Element of Dataset and connected it to the collection I need. But it didn’t help.
Question:
What should I do to connect my drop-down item to the collection and specific column in it?
Thank you in advance!
As the image shows submissions, it means that you are using Wix Forms app and not using your own user input form for which you would be able to use a dataset for.
The Wix Forms app adds a submission table and does not use a dataset.
https://support.wix.com/en/ascend-by-wix/wix-forms
https://support.wix.com/en/article/editing-a-wix-forms-field
https://support.wix.com/en/article/viewing-your-wix-forms-submissions-table
Using the Wix Forms app is not a code related issue and therefore you would be better suited going through Wix Support for more help with this.
https://support.wix.com/en/about-wix/contacting-wix-customer-care
So, you are saying that I cannot reach elements from wix-form with the code?
Let’s say for example:
wixData.query( “collectionName” )
.find()
.then((results) => {
$w(#dropdownField
).data = results.items;
})
. catch ((err) => {
let errorMsg = err;
});
If you use the Wix Forms app.
https://support.wix.com/en/ascend-by-wix/wix-forms
Then the users inputs will be saved into a Submissions Table, you won’t be able to use a dataset for it.
https://support.wix.com/en/article/viewing-your-wix-forms-submissions-table
If you want to use a dataset and use code, then make up your own user input form yourself.
https://support.wix.com/en/article/creating-a-form-with-user-input-elements
@givemeawhisky Now I got the difference. Thank you!