NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: seanh on March 12, 2024, 08:42:56 PM

Title: Form no longer displays after file download
Post by: seanh 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
Title: Re: Form no longer displays after file download
Post by: seanh 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
Title: Re: Form no longer displays after file download
Post by: Bruce 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