How to evaluate/fix FORMS_TOO_MANY_FIELDS error
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

How to evaluate/fix FORMS_TOO_MANY_FIELDS error

Too many fields in the form. The form has exceeded the database (MySQL) limit. (FORMS_TOO_MANY_FIELDS)

When does the error occur:

This error occurs when you save/import a form that has more fields than the underlying database table can hold. e.g.,

  • Adding a new field to an existing form that is already at capacity

  • Importing a form XML with too many fields

Cause

  1. This error occurs because MySQL limits the maximum row size to 65,535 bytes for tables.

  2. Each field you add (for example, VARCHAR(255)) increases the row size.

  3. If you add too many fields, the combined size can exceed MySQL’s limit.

For more info, refer to this page.

How to fix?

  • Create multiple forms to split data or use sub-forms (each sub-form creates a separate table)

  • Remove unused fields from the form.

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com