Skip to main content
Question

Multi-File Upload

  • Jan 16, 2025 5:25 PM UTC
  • 3 replies
  • 640 views

Forum|alt.badge.img+6

I have been using the ole Magic Buttons "Multi-file Upload" with a code page for years, love it, but it does not function correctly with the new forms. It will add the files behind the scenes, but it will not return & refresh. If I use the back-button and refresh, all is good. - messy with new forms.

Is there a way to fix the ole Magic Buttons "Multi-file Upload" code pager to work with the new forms?

Now moving on to new forms....

Using the lates QB Plugin for drag & drop upload of files, it simply will not save the parent before adding files, which clearly creates a relationship mess if you continue. Removing the button on parent add records creates another mess of users not updating or adding files.

Within the button of execution, is there a way to save and go directly to uploading files when clicking the plugin button to add files? save the parent and enforce the upload of file(s).

 

 

3 replies

MarkShnierYou
Forum|alt.badge.img+24

I think there may be a way using a Rich Text field type and the SaveBeforeNavigating syntax, but I'm still testing, not quite there yet.


MarkShnierYou
Forum|alt.badge.img+24

Should lend the user and edit mode on the newly created record. It needs to be a formula rich text field type.

var text rid =
   If([Record ID#]>0,
      ToText([Record ID#]),
      "%%rid%%");

var text url = URLRoot() & "db/" & Dbid() & "?a=er&rid=" & $rid;

"<a class='Vibrant Primary SaveBeforeNavigating' data-replaceRid=true href='" & $url & "'>Save & Keep Working - Rich Text</a>"


Top Step
Forum|alt.badge.img+12
  • Observing
  • Dec 2, 2026 7:33 PM UTC

Coming back to this because grid reports can now handle file attachments right on the form (released October 28, 2026), which covers most of what the Magic Buttons multi-file upload was doing.

If the files live in a child table with one file per record, embed a grid report of that table on the parent's new-style form. With the form in edit mode, users click Add row on the embedded report and drag a file onto the attachment cell for each row, or use Upload file. It all saves with the form, so there's no code page and no back-and-refresh.

Make sure Show create record buttons is on for that report in the form builder's Advanced options, or the Add row button won't show.

On a brand-new parent I'd still have them save once before adding files, so the rows have a parent to link to. Mark's Save & Keep Working button above works well for that.

https://resources.quickbase.com/nav/app/bu9ax9c5r/table/bu9a2h65e/action/dr?rid=1060&ifv=1

Want more detail? I wrote a full walkthrough here: https://www.topstep.tech/blog/quickbase-upload-multiple-files-require-attachment