The validation for the Register number is alphanumeric with hyphen and separated by comma (1234-abc,12345-0001, 123h001-001).
As per now it is accepting the alphanumeric, hyphen and comma. when the hyphen is given in front of the register number and last of the number means its showing "Valid register number"
But when the hyphen is entered in front of the character means it should show "Invalid Register number". Similarly when it enter in last of the word. Example: (-1234abc,1234wer-,-1233gfds-) for these register number it should invalid register number.
Hi @Sakthipriya B, To know if user has entered the hyphen in start or end you can use Built-In Index Function and from there you can make the validations if in the given text the hyphens are there in start and end
Thanks.