Fixed Confusing error message when trying to save account details with certain custom fields

Affected version
2.1.2

Kirby

Well-known member
If a custom textfield is configured as value type color and has a low maximum length (like 2) configured, the user does get a confusing error message when trying to save accout details:

<fieldname>: Please enter a value using 2 characters or fewer.
This most likely applies to other types as well.

IMHO the maximum length should be ignored (and not even be displayed as a configuration option) for date and color.
Ist should also be validated that it is long enough for url and email.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.4).

Change log:
Skip custom field max length checks for field types which tend to have a fixed length.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top