mulitple upload buttons - code

Hi i would like to code an upload button where if the user uploaded something, a second button will be shown (since wix does not allow multiple uploads in a single upload button, which is very very not useful to have this -.-)

I am guessing it will include an if else condition which will be in a loop, but can anyone point me in the right direction on how to generate a new upload button in corvid please

Check previous forum posts here.
https://www.wix.com/corvid/forum/community-discussion/uploading-multiple-images-to-a-collection-as-separate-items
https://www.wix.com/corvid/forum/community-discussion/upload-more-files-eg-images-with-a-single-upload-button/p-1/dl-5d73aeaab0358300170a88b8

Plus, look at this example here which is from another forum ninja (J. D.), so give thanks to him yourself if you use his code and it works for you.
https://jonatandor35.wixsite.com/test/multiupload

thanks for your response. I am adding the upload button to my form. How can I link this button + code in the form’s database? As it is not showing up

If you are using the code from the previous forum posts, then it is through the upload button itself.
https://support.wix.com/en/article/adding-and-setting-up-an-upload-button#step-2-connecting-your-upload-button

The upload button itself is where the picture urls are stored.
https://www.wix.com/corvid/reference/$w.UploadButton.html
https://www.wix.com/corvid/reference/$w.UploadButton.html#UploadedFile
You need to add a submit button to your page to save user data to your collection.

Finally, let’s return to the Editor and find the uploaded file. Select the upload button and click Manage Upload Button . In the Upload Button Settings panel, click Go to File , which opens the images that have been received by your site. There you should see the image you just uploaded.
https://support.wix.com/en/article/wix-code-using-the-upload-button-with-code

So as it says on one of those previous forum posts, that they then just simply insert that into the dataset themselves - ‘once this is done is easy to insert to the database the variable “workImages” which contains all the images.’

If you are using this code example.
https://jonatandor35.wixsite.com/test/multiupload

Then it uses the Save Button with Wix Data Bulk Save to add them to your dataset as shown in the code

 wixData.bulkInsert("Pictures", toSave)

wix-data - Velo API Reference - Wix.com

Also, you can now use Wix Media Backend too.
https://www.wix.com/corvid/reference/wix-media-backend.html
https://www.wix.com/corvid/reference/wix-media-backend.mediaManager.html
https://www.wix.com/corvid/reference/wix-media-backend.mediaManager.html#upload

See this other post about it too.
https://www.wix.com/corvid/forum/community-discussion/how-to-find-and-get-wix-static-url-of-uploaded-file

I visited this website https://jonatandor35.wixsite.com/test/multiupload

and it was of great help but can you explain me how to store that multiple images in database?

Store it and use it to display on the site making it user generated