Project

General

Profile

Actions

Bug #5697

closed

Integer fields validation failing on non-required with minimum

Added by krileon almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04 January 2016
Due date:
% Done:

100%

Estimated time:

Description

When an integer field is not required, but has a minimum value set the 0 value forced causes a validation error because it fails the minimum value JS validation check. The JS validation check when running this.optional needs to account for 0 being empty in the case where digit or integer validation rule is supplied.

https://www.joomlapolis.com/forum/255-developer-members-support/232350-cb-2012-conflict-between-value-an-validation-rule-of-an-integer-field

Actions

Also available in: Atom PDF