Downloading multiple documents

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?

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

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.

@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!

@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.

1 Like