help uploading documents

just have 2 questions. One if I make a page for “upload files” where do the files get save or how do i save them.

Secondly if I have a page for input information and on a different page want to see the summary of that how would I set that up?

Hi Howard!

There are two techniques for achieving your goal that you can use.

Code
Using Wix Code you can achieve most of the things you can imagine while using a little creativity.
You can take a look at this Wix Data API and use the many methods it has including insert( ) and update( ).
These two allows you to build an item object and save it to your database using code.

Data Binding
You can always use a dataset in order to directly save data to your database.
Use this article to learn more about Datasets.

In both methods your data is saved into your database collection .
Make sure that your collection has a field of type ‘Document’ in order to be able to receive a file.


As of showing data that was previously submitted by your users (or was existing in your DB),
create a page with compatible components to the fields you want to show.
You can use both code or DataBinding in order to show the data and assign it to the components, but, the easiest way is simply using “read-only” dataset connection.

Hope that helps,

Doron.