NetTalk Central

Author Topic: NetWebForm Error if Field is a BLOB and Required Set True  (Read 906 times)

David

  • Full Member
  • ***
  • Posts: 127
    • View Profile
NetWebForm Error if Field is a BLOB and Required Set True
« on: February 12, 2023, 10:47:38 AM »
In a NetWebForm, if I set a blob field to be required the generated code causes a compile error.

Generated Code
---------------------------------------------
ValidateValue::MyBlobField  Routine
          If MyBlobField = ''
            loc:Invalid = 'MyBlobField'
            MyBlobField:IsInvalid = true
            if not loc:alert then loc:alert = p_web.translate('Message to Send:') & ' ' & p_web.site.RequiredText.
          End
          do OpenFiles
          If loc:invalid = '' then p_web.SetSessionValue('MyBlobField',MyBlobField).

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11176
    • View Profile
Re: NetWebForm Error if Field is a BLOB and Required Set True
« Reply #1 on: February 12, 2023, 11:40:35 PM »
fixed for 12.55