I can't seem to find a "Character limit" option when setting the edit options for a column in WPDT...This would prevent the user right from the start from entering the wrong length string instead of throwing an error which not all users might be able to understand, nor would they know the max length of characters the field expects.
The type and the character limit of database tables is only available when the table is being created:
After that, the column is already written in the database, so a WordPress plugin (wpDataTables) can't make any further changes to existing database columns. You can add a new column, and define the limit in there:
The only way of modifying existing columns would be to access the database, locate the table, and edit the structure Tab, so the column you want to change the character limit for is edited through there:
I can't seem to find a "Character limit" option when setting the edit options for a column in WPDT...This would prevent the user right from the start from entering the wrong length string instead of throwing an error which not all users might be able to understand, nor would they know the max length of characters the field expects.
Hi there.
The type and the character limit of database tables is only available when the table is being created:
After that, the column is already written in the database, so a WordPress plugin (wpDataTables) can't make any further changes to existing database columns. You can add a new column, and define the limit in there:
The only way of modifying existing columns would be to access the database, locate the table, and edit the structure Tab, so the column you want to change the character limit for is edited through there:
I hope that helps.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables