Tagged Questions
0
votes
2answers
34 views
Validate experience dropdown with jQuery with minimum and maximum values
I am using mvc4
I have 2 dropdownlist one is minimum experience and the oher is maximum experience, i am trying to validate minimum with maximum vice-versa from client side, but not getting it worked ...
2
votes
3answers
42 views
html form validation | attribute required does not work anymore - except for type=“email” - Whats wrong?
I'm looking for hours on my code and tried every hint I found in the internet.
I have a form - As you nearly all fields are required.
But the only field which my browser (Chrome) really checks is ...
0
votes
2answers
28 views
PHP Email Form Stuck at Validation and causing server error 500
I am trying to do a contact form on my website and when I hit the submit button it doesn't get past the the validation function. It says there appears to be a problem with the forms, but I'm filling ...
0
votes
2answers
66 views
Javascript Function to enter only alphabets on keypress
I want to enter only character values inside a text-area and numeric values in another.I have been able to make a javascript function which only allows numeric values to b entered in the text-area ...
0
votes
2answers
78 views
PHP - HTML - Get multiple checkbox value without making it become array
I have read through many questions and do my searches for hours, but i still cannot find the solution to what i exactly want.
<form method="POST">
<input type="checkbox" name="fruit" ...
2
votes
8answers
11k views
email validation javascript
is this javascript function (checkValidity) correct?
function checkTextBox(textBox)
{
if (!checkValidity(textBox.getValue()))
displayError("Error title", "Error message", textBox);
...
1
vote
1answer
10 views
Aptana Studio 3 Warning Unescaped Entity
When editing my html-files I often get a warning "Unescaped entity". i.e when writing: Forename Surname without spaces before and after the nonbreaking-space-entity. If I put a space after ...
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 ...
1
vote
3answers
117 views
JavaScript validation for white space
I am doing client side validation in JavaScript. I can do validation for mandatory fields and phone number fields, but except email field all other fields are accepting white space, such that the ...
0
votes
7answers
261 views
Validating html generated by php
I'm new at web development, so to make sure I'm writing good code I've been using w3.org validation tools. I'm currently working on a project where I generate a lot of my html with php functions, and ...
1
vote
4answers
194 views
How to prevent user pasting text in a textbox?
I have this JS function that prevents user from typing characters
<script type="text/javascript">
function validate(evt) {
var theEvent = evt || window.event;
var key = theEvent.keyCode || ...
0
votes
0answers
18 views
0
votes
0answers
31 views
Removing the default IE10 “This is a required field” validation tooltip
I have a html form with some required text fields. In IE10 the required fields render the new tooltips for invalid fields. Because I have custom validation on other fields, I have not set "required" ...
0
votes
1answer
52 views
Is it a Must to Validate Global Codes?
There are some global codes which are not valid according to w3c standards for example we can consider YouTube embed code or Facebook plugins. In such cases, what shall we do?
<iframe width="560" ...
0
votes
2answers
109 views
Validating checkbox with javascript
I have problem to validate multi checkbox , I want to check if the user has selected at least one checkbox.
Im try with document.getElementByClassName but does not work
HTML:
<form ...