/
Field value length is validated for empty field

Field value length is validated for empty field

In-Portal has extensive validation features available for developer. They include, but not limited to:

  • checking if field is filled-in
  • checking if field value is unique among other DB records in same table
  • checking if field value is within allowed range (for string values it's length of text, for integer values it's number range)

Unfortunately string length validation is made even for cases, when no value was even entered by user.

Solution

Don't validate string value length in the field, when no value has been entered yet.

Related Tasks

INP-1438 - Getting issue details... STATUS