NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: David on February 12, 2023, 10:47:38 AM

Title: NetWebForm Error if Field is a BLOB and Required Set True
Post by: David 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).
Title: Re: NetWebForm Error if Field is a BLOB and Required Set True
Post by: Bruce on February 12, 2023, 11:40:35 PM
fixed for 12.55