Form Validation still submitting empty form?

I have a form for user to fill in every field. The situation is, I have an input field that user will type in the na...

Logout button calls validation conrols in asp.net, how to avoid calling validations on click of Log out button??

I design a web form having some text box control,dropdown list control, radio button control,recaptcha control, and ...

Restricting the value in Tkinter Entry widget?

I need to restrict the values in the Entry widget to numbers only. The way I implemented is: import numpy as np fro...

Validation of radio button group using jQuery validation plugin?

How to perform validation for a radio button group (one radio button should be selected) using jQuery validation plu...

Regex match one of two words?

I have an input that can have only 2 values apple or banana. What regular expression can I use to ensure that either...

A potentially dangerous Request.Form value was detected from the client?

Every time a user posts something containing < or > in a page in my web application, I get this exception thro...

C# Validating input for textbox on winforms?

I want to check what the user is writing in a textbox before I save it in a database. What is the best way to do thi...

ASP.NET MVC Conditional validation?

How to use data annotations to do a conditional validation on model? For example, lets say we have the following mo...

jQuery: what is the best way to restrict “number”-only input for textboxes? (allow decimal points)?

What is the best way to restrict "number"-only input for textboxes? I am looking for something that allows decimal ...

Radio button validation in javascript?

Need to validate a radio button input, i.e. when submit button is pressed and no radio buttons have been selected, i...

A non well formed numeric value encountered?

I have a form that passes two dates (start and finish) to a PHP script that will add those to a DB. I am having prob...

Check whether an input string contains a number in javascript?

My end goal is to validate an input field. The input may be either alphabetic or numeric. ...

Best way to alphanumeric check in JavaScript?

What is the best way to perform an alphanumeric check on an INPUT field in JSP? I have attached my current code func...