Question
2
Replies
42
Views

not applicable
IN
Posted: 3 weeks 3 days ago
Last activity: 3 weeks 2 days ago
Last activity: 9 Jun 2022 4:16 EDT
Solved
How to write Validation Logic for user input required with 3 digits, then hyphen, then 8 digits
Hi ,
I have requirement to implement a validation logic for Text field.
The field should accept the mentioned format, first three should be digits, then Hypen, then 8 digits numeric.
otherwise error should be thrown.
example:- 123-12345678
Could you help with java code required to implement this in edit validate rule.
***Edited by Moderator: Pooja Gadige to add capability tags, move from Pega Academy to Product***