Project

General

Profile

Actions

Bug #5697

closed

Integer fields validation failing on non-required with minimum

Added by krileon almost 10 years ago. Updated over 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 #1

Updated by krileon almost 10 years ago

When min and max are both preset it should also use the range validation rule instead of separate min and max validation rules.

Actions #2

Updated by krileon over 9 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !1010

Actions #3

Updated by beat over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF