ValidateRegEx Is Firing Validation On Empty InputText Field
(Doc ID 2408951.1)
Last updated on JUNE 11, 2018
Applies to:Oracle JDeveloper - Version 188.8.131.52.0 to 184.108.40.206.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 ( 220.127.116.11.0 and 18.104.22.168.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!