validation Questions
8
Solved
As designing a new platform we tried to integrate the IBAN numbers. We have to make sure that the IBAN is validated and the IBAN stored to the database is always correct. So what would be a proper ...
Feasible asked 7/1, 2014 at 22:31
10
Solved
I'm making a small web app in which a user enters a server URL from which it pulls a load of data with an AJAX request.
Since the user has to enter the URL manually, people generally forget the tra...
Hendry asked 17/7, 2012 at 21:48
21
I have a string and want to test using PHP if it's a valid base64 encoded or not.
Clonus asked 25/11, 2010 at 14:29
9
Solved
Is there is a way of referencing another field when specifying the exists validation rule in Laravel? I want to be able to say that input a must exist in table a, input b must exist in table b AND ...
Carny asked 30/9, 2014 at 12:54
19
Solved
Am using this javascript for restrict users to type only numbers and only one dot as decimal separator.
<script type="text/javascript">
function fun_AllowOnlyAmountAndDot(txt)
{
if(event....
Appendicectomy asked 21/3, 2012 at 6:16
7
Solved
I have the class with validation:
public class User {
@Size(min=3, max=20, message="User name must be between 3 and 20 characters long")
@Pattern(regexp="^[a-zA-Z0-9]+$", message="User name must...
Lulululuabourg asked 2/8, 2013 at 18:35
10
I am developing one application with reactive dynamic angular form. This forms fields are coming from an API request and is generated dynamically.
I really need to add 'required field' asterisk (...
Tanney asked 23/4, 2018 at 7:6
2
For my Flutter App, I'm using many input form fields for data input, and assigning a validation method for each, for all fields the error message appears normally, just below the field, except for ...
Travertine asked 22/3, 2019 at 15:47
5
I'm using Beego framework to build a web application in Go. I have to validate the incoming JSON in an API request.
I can unmarshal the JSON into a struct which works fine, but I want to validate...
Bouton asked 30/5, 2019 at 12:26
18
Solved
I'm trying to validate phone number such as 123-345-3456 and (078)789-8908 using JavaScript.
Here is my code
function ValidateUSPhoneNumber(phoneNumber) {
var regExp = /^(\([0-9]{3}\) |[0-9]{3}-)...
That asked 22/8, 2013 at 9:3
5
Solved
I'm having trouble with validation of input type="date". It shouldn't accept 18 years old below. Could you please help me? Thank you.
I google and search the forum I haven't found the answer.
I t...
Vampire asked 30/12, 2013 at 4:3
3
I am trying to validate an array of objects using DTO in nestjs. I have tried it but the data is not getting validated. I tried to search a lot but didn't get any answer.
These are my files:
trivia...
Bread asked 21/5, 2021 at 5:40
17
Solved
I have the following code, and I'm kind of stuck on what to do next. The idea is when you enter text into a text area a counter tells you how many characters you have left. Once you get to the max ...
Beanie asked 13/3, 2011 at 20:39
10
I am trying to create cloudformation template to use but I keep getting the above error.
Here is snippet from my template:
"Mappings" : {
"AWSInstanceType2Arch" : {
"t1.micro" : { "Arch" : "64"...
Justinn asked 28/8, 2014 at 20:21
2
Solved
I am working on a nest project, and using class-validator for validation.
Currently if there is any validation error, I am getting error response as
{
"statusCode": 400,
"message&q...
Wagonage asked 27/2, 2023 at 14:22
4
Solved
I want a regex for mobile number validation. The regex pattern should be such that it must accept + only in beginning and space(or -) should be allowed only after country code(only once). Only 10 d...
Afghanistan asked 13/3, 2014 at 12:31
2
Here is data class:
data class CreateCommentRequest(
@field:NotNull
@field:NotEmpty
val comment: String,
@field:NotNull
val postId: Long
)
If I omit comment field, validation fails properl...
Spook asked 18/4, 2018 at 10:6
6
Solved
I just only want to check if that link is Google Maps link
For example :
var urls =[
/// correct urls
"https://www.google.com/maps",
"https://www.google.fr/maps",
"https://google.fr/maps",
"...
Stowers asked 6/2, 2013 at 12:32
0
I wanted to have data validation at once in WPF binding so I used PropertyChanged at UpdateSourceTrigger. At the same time I wanted to detect LostFocus, this is the time I modify the DB. Moreover, ...
Decor asked 6/5, 2024 at 15:13
8
Solved
How can I check the SQL syntax in a .sql file?
Federalism asked 5/6, 2009 at 15:29
4
Solved
I have Joi schema and want to add a custom validator for validating data which isn't possible with default Joi validators.
Currently, I'm using the version 16.1.7 of Joi
const method = (value, help...
Criseyde asked 17/10, 2019 at 5:30
3
Solved
I have a simple login form written in Angular 2 reactive (data-driven) template. It's working perfectly but when I refresh the page and browser fills e-mail+password (autocomplete), my form's valid...
Delp asked 10/2, 2017 at 12:15
3
Solved
I'm using react-hook-form with yup for my form validation and want some fields to be optional (null).
Following their documentation, I'm using nullable() and optional() but it is still getting vali...
Leucas asked 26/5, 2022 at 9:42
3
Solved
My View has an array of file inputs like
<input type="file" name="videos[]" />
<input type="file" name="videos[]" />
...
...
and I want to validate for the total allowable upload siz...
Raspberry asked 1/11, 2017 at 12:4
5
Solved
I want to validate DateTime like this code below
{
"data": {
"start": "2018-05-12 08:00:00"
}
}
How to combine isISO8601() and match(regex) to validate date & time in start
body('*.start...
Salable asked 10/7, 2018 at 14:25
© 2022 - 2025 — McMap. All rights reserved.