Tagged Questions
0
votes
2answers
21 views
How could I request a certain number (digit) with a certain times to be inserted in an input element?
How could I request a certain digit with a certain times to be inserted in an input element?
I need to request from The users to input three times a certain digit, let we say number 9, in the text or ...
0
votes
2answers
25 views
Problme with HTML 5 validations
I try to write HTML5 valid code for my webpage, but when I use the W3 Validator, I get an error message like this:
Element ul not allowed as child of element ul in this context. (Suppressing further ...
3
votes
4answers
5k views
HTML5 Validation Error: body start tag seen but an element of the same type was already open
I was hoping that someone may know how to resolve this HTML5 validation error. When I try to validate my page: http://blog.genesispetaluma.com using http://validator.w3.org, it gives me the ...
0
votes
0answers
17 views
Preventing multiple form submission in html 5
The general task is to prevent multiple form submission, i'm using html5 form validation
like:
<input id="email" type="email" name="email"/>
<input id="tel" type="tel" name="tel"/>
a ...
0
votes
1answer
37 views
“Bubble” validation message on non-form element
I have some elements on a page and I want to make use of the nice bubble style messages such as described here HTML5 form validation. It seems that to use them it is required they are within a form ...
3
votes
2answers
671 views
html5 validation error output
I've tried to validate my html5 document although I am getting some invalid markup errors.
My code is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
...
35
votes
9answers
12k views
Opengraph validation for HTML5
Is there any way to get facebook's crappy open graph meta tags to validate if my doctype is <!DOCTYPE html> (HTML5)?
Other than facebook's opengraph meta tags, my document validates perfectly.
...
0
votes
2answers
45 views
Html5 validation and jquery ajax
I have a problem with validation of my form because if I use required attribute in each element of form and press submit the form is not processed until it is fill out the form, but in my file I add a ...
0
votes
1answer
76 views
Submit form with html5 validation and jquery ajax
I have a problem with validation of my form because if I use required attribute in each element of form and press submit the form is not processed until it is fill out the form, but in my file I add a ...
0
votes
0answers
22 views
Validate video file client side htm l5?
Does anyone know if it is in any way possible to validate videos through javascript client side before they're uploaded to a server? Just checking the file extension isn't enough, it has to make sure ...
11
votes
5answers
2k views
Are there any command line validation tools for HTML and CSS?
Is anyone aware of command line tools that can validate CSS and/or HTML?
The W3C offers its validators for local installation, with directions to use from the command line, but the installation ...
0
votes
3answers
34 views
html5 validation regular expression
I only want alphanumeric, numbers, space, dash and underscore. I am using
[\w\s-_]*
But because I have allowed spaces, a space is allowed as input, in html5 how can i validate if only spaces are ...
2
votes
2answers
4k views
Is it possible to use the required property in IE?
I have code like this:
<input required>
In good browsers I can use jquery like this to add a class of error to the input:
$('input[required]').addClass('error');
It doesn't work in IE ...
2
votes
2answers
42 views
Getting validity state of input text box
How to retrieve the 'validity' status of the text box in HTML 5?
For instance, I have a text input with type="email". When the user enters a wrong value, the text box shows a red border (In firefox ...
0
votes
0answers
35 views
How can I show a validation div when data-validation triggers
Instead of styling the data-valmsg-summary produced by Html.ValidationSummary() in a custom way, I would like to just show the box with the twitter bootstrap style applied to it whenever the field ...