NetTalk Central

Author Topic: Form no longer displays after file download  (Read 159 times)

seanh

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • Email
Form no longer displays after file download
« on: March 12, 2024, 08:42:56 PM »
I have a webForm that works fine, mostly. I added the  -File Upload- field to the form to save a file.  As far as I can tell this form is almost identical to the web26 example, except that I save the file to a blob in the record.

Now the file uploads and saves, I've checked in the postgres backend and it's there.

The problem is that I can now no longer edit that row, it just comes up blank.
See attached images

I'm lost as to what's going on.  Any help appreciated.

Nettalk 14.19
« Last Edit: March 12, 2024, 09:02:15 PM by seanh »

seanh

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • Email
Re: Form no longer displays after file download
« Reply #1 on: March 13, 2024, 03:07:23 PM »
Update
After  conversations with Bruce it was found this only happens when the form is called as a popup.

The problem ended up being having the blob field in the field field of the file upload control properties
changing that fixed it

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11179
    • View Profile
Re: Form no longer displays after file download
« Reply #2 on: March 13, 2024, 09:25:46 PM »
Indeed, the file field can (should?) be blank. It's designed to accept the file name.
the "Save into Blob Field" setting should be used for blob fields.

Cheers
Bruce