NetTalk Central

Author Topic: NetWebForm - File Upload Using StringTheory  (Read 2629 times)

David

  • Full Member
  • ***
  • Posts: 127
    • View Profile
NetWebForm - File Upload Using StringTheory
« on: October 01, 2018, 04:28:00 AM »
NT 10.34

I'm trying to use a StringTheory object as the storage for a Text field and a file upload field in a NetWebForm.  In the local data I added 2 fields both as Type StringTheory.  Once compiled I get errors because the Nettalk template generated code is still treating those fields as variables and trying to assign data to/from them.

example: p_web.SetSessionValue('stUploadedData',stUploadedData)

In the NetTalk Usergroup video 202 Ashley had a question about uploading 3 files and Bruce showed him how to set the local fields as Type StringTheory.  I was using this as the bases for my setup.  What step am I missing?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: NetWebForm - File Upload Using StringTheory
« Reply #1 on: October 01, 2018, 07:36:36 AM »
Hi David,

>> I'm trying to use a StringTheory object as the storage for a Text field and a file upload field in a NetWebForm.

Would be nice, but alas that is not supported.

>> In the NetTalk Usergroup video 202 Ashley had a question about uploading 3 files and Bruce showed him how to set the local fields as Type StringTheory.  I was using this as the bases for my setup.  What step am I missing?

That was for a NetWebServiceMethod (where it is supported) - not for a NetWebForm.

I've added it to my board as something to do during the NT11 cycle.

cheers
Bruce