# Downloading multiple documents

**URL:** <https://forum.wixstudio.com/t/downloading-multiple-documents/752>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [April 21, 2022, 11:35am UTC](https://forum.wixstudio.com/t/downloading-multiple-documents/752 "2022-04-21T11:35:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![simen](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@simen](https://forum.wixstudio.com/u/simen)\
**Post date:** [April 21, 2022, 11:35am UTC](https://forum.wixstudio.com/t/downloading-multiple-documents/752/1 "2022-04-21T11:35:21Z")

</div>

I have a database that has a field containing Multi Document, so multiple documents. The problem comes with trying to download (or show) multiple PDFs at once.

When using wixLocation . to() it stops after the first one has been opened, which makes sense. But I wondered if anyone had any good soulutions that doesn’t include repeaters?

---

<div class="post-metadata">

**Author:** ![sammy2021](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/sammy2021/32/32388_2.png) [@sammy2021](https://forum.wixstudio.com/u/sammy2021)\
**Post date:** [April 28, 2022, 6:44pm UTC](https://forum.wixstudio.com/t/downloading-multiple-documents/752/2 "2022-04-28T18:44:01Z")

</div>

Hey Simen,

I had a question about adding a time loop to uncheck checkboxes a while ago and you said it would be possible to achieve. If you could please update me, that would be greatly appreciated!

Here is the link to the original post: [https://www.wix.com/velo/forum/coding-with-velo/save-the-state-of-checkboxes-for-all-users-after-refreshing-the-site?origin=member\_posts\_page](https://www.wix.com/velo/forum/coding-with-velo/save-the-state-of-checkboxes-for-all-users-after-refreshing-the-site?origin=member_posts_page)

---

<div class="post-metadata">

**Author:** ![simen](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@simen](https://forum.wixstudio.com/u/simen)\
**Post date:** [May 2, 2022, 1:39pm UTC](https://forum.wixstudio.com/t/downloading-multiple-documents/752/3 "2022-05-02T13:39:40Z")

</div>

Hey, I’m sorry, but the soulution to your question will take some time to do. Time that I don’t really have between work and other stuff, sorry.

---

<div class="post-metadata">

**Author:** ![sammy2021](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/sammy2021/32/32388_2.png) [@sammy2021](https://forum.wixstudio.com/u/sammy2021)\
**Post date:** [May 2, 2022, 10:12pm UTC](https://forum.wixstudio.com/t/downloading-multiple-documents/752/4 "2022-05-02T22:12:01Z")

</div>

@simen That’s fine, thanks for getting back to me. I will look for help elsewhere. If you have any suggestions for helpful references, feel free to let me know. If not, that’s fine too.

Thanks again!

---

<div class="post-metadata">

**Author:** ![simen](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@simen](https://forum.wixstudio.com/u/simen)\
**Post date:** [May 3, 2022, 6:02am UTC](https://forum.wixstudio.com/t/downloading-multiple-documents/752/5 "2022-05-03T06:02:12Z")

</div>

@sammy2021 So, instead of all of the checkboxes being on one line, you want one line for each checkbox. This will make the queries a bit more complex, but it is very doable.

Then for the periodical un-checking of boxes you need to use the job scheduler to run a functions that will un-check the correct box at the correct time.
