Question

1
Replies
65
Views
Close popover
Ratul Sarkar (RatulS51)
Accenture Services PVT Ltd

Accenture Services PVT Ltd
IN
RatulS51 Member since 2017 13 posts
Accenture Services PVT Ltd
Posted: April 19, 2018
Last activity: April 19, 2018
Closed
Solved

Textbox should have numeric values between 8 to 16 bytes

I want a text box to have only numeric values which can range from 8 to 16 bytes. I am using a (<8) function to restrict the lower limit and the MaxLength=16 for the upper one. And I am using the IsRegexMatch method as (\d{16}) to do the numeric validation. But the problem is that the Regex method is throwing error if I enter any value less than 16 bytes.

How do I solve it?

***Edited by Moderator Marissa to update categories***

User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.