ValidateRegEx Is Firing Validation On Empty InputText Field
(Doc ID 2408951.1)
Last updated on MARCH 17, 2019
Applies to:Oracle JDeveloper - Version 220.127.116.11.0 to 18.104.22.168.0 [Release 12c]
Information in this document applies to any platform.
If you have an input text component on the page with RegEx validation to restrict to enter only numbers. Problem arises when you enter some number and emptying the same field or removing the entered value, validations are fired on empty input text field. ie, RegEx fires the validation and error is thrown saying that format is incorrect. This behavior is observed only in JDeveloper 12c releases ( 22.214.171.124.0 and 126.96.36.199.0).
In JDeveloper 11g versions, above behavior is not seen. ie, RegEx does not fire validation on empty input fields.
Source code example is:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document