Fixed Custom thread field and negative numbers

Tracy Perry

Well-known member
Affected version
2.2.10 Patch 1
There appears to be a problem when using a custom thread field, specifying single line text and a value match requirement of Number and that number selection extends to negative numbers.

Screen Shot 2022-10-08 at 9.00.57 AM.png

When you use what should be a valid number (even by using the +/- buttons) when you try to submit the post, the below crops up.

Screen Shot 2022-10-08 at 9.00.39 AM.png

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.12).

Change log:
Fix validation for negative whole number custom fields
There may be a delay before changes are rolled out to the XenForo Community.