Skip to content
Advertisement

Tag: validation

REGEX to match only VALID EXCEL COLUMNS (A-XFD)

Ok, I have ANOTHER REGEX question for everyone. I have a field that has multiple validation steps. The first step is to ensure it isn’t blank, second is to ensure that only between 1 and 3 CAPITAL LETTERS are entered, and third, to ensure it doesn’t contain “[” (an opening bracket will denote a function in this scenario and we

Check selected file matches accept attribute on an tag

I wish to prevent the user from uploading a file the server will reject from a page with minimal JavaScript on it, ideally without adding any heavy dependencies like jQuery purely to solve this one problem. Since I’m not targeting legacy users, I trued using the browser’s form validation system to check if the user has selected a valid file,

Mobile Number Validation (Internationally)

i am trying to do Validation check on mobile number , somewhat similar to what gmail had implemented. Gmail signup page link but variation among the phone number across country is to much, so finding it difficult to frame a regex for this. i looked upon some of the q’s here , but they work for some country or a

Why do we need both client side and server side validation? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 9 years ago. Improve this question One argument for using both client side validation (JavaScript) and server side validation using a validator is that if the client browser does not support JavaScript or JavaScript

Advertisement