Latest Questions tagged Validation

Browse all latest questions tagged Validation

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...

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: thanks

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...

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...

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...

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...

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,...

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?

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?

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.

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...

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...

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...

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...

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...