Latest Questions tagged Validation

Browse all latest questions tagged Validation

94
Votes
Published 25 Oct, 2022
Java - com.networknt json-schema-validator not checking Unknown keywords in json

I am using json-schema-validator for validating the requests. It is validating fine. But, Request contains some invalid objects, it not throwing any error. Schema { "$schema": "http://json-sch...

61
Votes
Published 23 Aug, 2022
Python - python: check if url to jpg exists

In python, how would I check if a url ending in .jpg exists? ex: http://www.fakedomain.com/fakeImage.jpg thanks

74
Votes
Published 03 Aug, 2022
Jquery - jQuery date validation - format and range

I have a requirement where I will have 2 date fields (to, from) and needs to validate them: whether they are mm/dd/yyyy format both the dates are in particular range as the name suggests to should...

138
Votes
Published 23 Apr, 2022
Javascript - Set Value of Input Using Javascript Function

I'm currently using a YUI gadget. I also do have a Javascript function to validate the output that comes from the div that YUI draws for me: Event.on("addGadgetUrl", "click", function(){ var url...

92
Votes
Published 08 Aug, 2022
Jquery - How can I customize the unobtrusive validation JQuery messages in ASP NET MVC?

I have a form, and when it does the unobtrusive validtaion I want it to show: This message: "Please enter a value." Instead of this message: "This Field is required." I tried adding this at the end...

29
Votes
Published 03 Aug, 2022
Jquery - JQuery Validate: Validating a hidden form (possible bug)

I am using the JQuery Validation plugin to handle form validation. The problem I am having is that when a form is hidden, the validation plugin ignores the fields that need to be validated and jumps...

28
Votes
Published 19 Jun, 2022
Jquery - jqGrid afterSubmit

I am returning a JSON value called insertStatus and I'd like to get it from the function aftersubmit which I have as it follows: var addOptions = { closeOnEscape: true,...

167
Votes
Published 26 Jun, 2022
Jquery - Custom date format with jQuery validation plugin

How can I specify a custom date formate to be validated with the Validation Plugin for jQuery?

1783
Votes
Published 16 Apr, 2022
Javascript - What's the best way to validate an email address in JavaScript?

What's the best way to validate an email address in JavaScript with a regular expression?

7
Votes
Published 24 Apr, 2022
Javascript - How to validate timestamp in javascript

How do you validate timestamp using javascript and timestamp to accept multiple formats e.g. YYYY-MM-DD HH:mm:ss.S, YYYY-MM-DD HH:mm:ss AM/PM.

61
Votes
Published 14 Jun, 2022
Python - Using explicit (predefined) validation set for grid search with sklearn

I have a dataset, which has previously been split into 3 sets: train, validation and test. These sets have to be used as given in order to compare the performance across different algorithms. I would...

6
Votes
Published 24 Apr, 2022
Javascript - How to create html5 custom validation?

I am using html 5 form validation for validate my form before submit, if is valid, submit, but I need validate my User Register form, so it need validate if Password Confirm value is equal camp Passwo...

76
Votes
Published 04 Aug, 2022
Jquery - jQuery Validation Plugin Checkbox errorPlacement

I have a group of checkboxes that all have the same name. They all have different values. They are just part of a form. They do not make up the entire form. I want the checkboxes to display their erro...

59
Votes
Published 01 Jul, 2022
Jquery - How to force a html5 form validation without submitting it via jQuery

I have this form in my app and I will submit it via AJAX, but I want to use HTML5 for client-side validation. So I want to be able to force the form validation, perhaps via jQuery. I want to trigger...

17
Votes
Published 18 Jun, 2022
Jquery - MVC 5 - Validate a specific field on client-side

I want to populate a city/state drop down list based on the postal code a user types into a textbox. So when the text changes, I'm going to make an ajax call to retrieve the data. However, I only want...