Page 1 of 1

Maximum characters allowed for fields

Posted: Sun Sep 08, 2019 6:22 pm
by Danny

Hi,

If you sync with the database ASP.NET Maker know the maximum characters of a field.

  1. We need a way to get this from a function, OR
  2. make a radio field at field settings, enable/disable maximum characters alert message, OR
  3. improve the error message

Because now you get an error and nobody knows what's the problem when override the maximum characters: String or binary data would be truncated. The statement has been terminated

You can't save the data and you don't know which field is the problem.

Regards,


Re: Maximum characters allowed for fields

Posted: Thu Nov 03, 2022 4:21 pm
by MichaelG

By default the field size is already set to the the Maxlength attribute of the input (text box). Is your field some other special fields (e.g. File upload fields storing field name, or mulit-select field storing comma separated values)?