Questions tagged [validating]
107 questions
197
votes
34 answers
How to make HTML input tag only accept numerical values?
I need to make sure that a certain field only takes numbers as value.
The input is not part of a form. Hence it doesn't get submitted, so validating during submission is not an option. I want the user to be unable to type in any characters…

chtenb
- 14,924
- 14
- 78
- 116
128
votes
24 answers
No identities are available for signing Xcode 5
I have an error "No identities are available for signing" when try to validate my app in Xcode 5. I tried all: Recreate certificates and provisioning profiles, all methods which have been described on this site and another resources; I'm confused,…

Oleksii Moiseenko
- 1,298
- 2
- 8
- 6
48
votes
17 answers
How to skip Validating after clicking on a Form's Cancel button
I use C#.
I have a Windows Form with an edit box and a Cancel button. The edit box has code in validating event. The code is executed every time the edit box loses focus. When I click on the Cancel button I just want to close the form. I don't want…

user228985
- 481
- 1
- 4
- 4
27
votes
2 answers
DataGridView Validation & Changing Cell Value
I would like to manipulate a cell in my DataGridView when it is validating so that if the user enters a value that is not valid for the database, but is easily converted to valid data, the program will change the value to an appropriate one.
I am…

Micah
- 429
- 1
- 5
- 11
15
votes
2 answers
validating HTML: The for attribute of the label element must refer to a form control
I don't know why I keep getting this error while checking my page at http://validator.w3.org/check The error was:
Line 235, Column 84: The for attribute of the label element must refer to a form control.
…
11
votes
3 answers
Indian pincode validation regex - Only six digits, shouldn't start with `0`
I have tried Regex accept numeric only. First character can't be 0 and What is the regex for "Any positive integer, excluding 0" however that didn't work as per my requirements.
I want exact 6 digit numeric number but shouldn't start with 0
I've…

Some Java Guy
- 4,992
- 19
- 71
- 108
10
votes
3 answers
Rails validating full_name
Hey... how would you validate a full_name field (name surname).

xpepermint
- 35,055
- 30
- 109
- 163
5
votes
2 answers
"OAuthException","message":"Error validating application."
up until 4 days ago this was working just fine, now I keep receiving an error when trying to post a youtube video on my friends (or even my own) wall.
Reading user ids from list.txt and send them a video
Posting video to user id:…

Wanja
- 51
- 2
5
votes
1 answer
HTML5 Validating with Nu Html Checker
I am validating an HTML5 page and is returning these 2 warnings:
Info: The Content-Type was text/html. Using the HTML parser.
Info: Using the schema for HTML with SVG 1.1, MathML 3.0, RDFa 1.1, and ITS 2.0 support.
I'm not sure if the problem is…

Chris
- 53
- 1
- 4
4
votes
1 answer
Form init and field init events do not work in parsley.js
Here's a simple example: http://codepen.io/spacejaguar/pen/KrvqNW
html:

RamboBambo
- 88
- 5
3
votes
1 answer
Referencing multiple IDs in an XML schema (XSD)
I was wondering whether it's possible to differentiate between ID fields in an XML schema. I'm having the following schema:
…

DonDiesl
- 31
- 3
3
votes
1 answer
Run all Validating events on the Form on button click
I have a little form with some text boxes and combo boxes, each with their own validating event which just fills the default value either 1 or 0 depending on the box when the user moves on to the next box without entering anything, however i also…

DeadlyTitan
- 35
- 1
- 5
3
votes
2 answers
validating a password with delphi code
Looking to implement an end user dialog that requires them to create their own password.
Must be 9 characters long. 1 char must be upper case, 1 must be lowercase, one must be a number, ['0'..'9'] and one must be from a set of 6 predefined ascii…

Jerry Mallett
- 75
- 1
- 6
3
votes
1 answer
Raise validating event on datepicker c# Winforms
I have 2 datepickers. One with invoicedate and one with due date.
It is possible for me to pick a date for the invoice on tomorrow. But then when I continue filling in the controls, its possible to just leave the due date on today.
This gives the…

Kevin
- 151
- 4
- 15
3
votes
1 answer
Why is moment.js allowing date with one digit year when using strict parsing?
I am using moment.js to parse a date. http://momentjs.com/docs/#/parsing/string-format/
This is to validate and convert the date to a format required by my database. In my testing I encountered this input date '6-4-3' which should not be valid with…

Mnebuerquo
- 5,759
- 5
- 45
- 52