Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
61 views

My Approach: const validateField = (field, value) => { if (!value.trim()) { return "This field is required"; } const regexRules = { name: /^[A-Za-z ]+$/, email: /^[^\...
Devang Gondaliya's user avatar
2 votes
1 answer
126 views

I am encountering a problem inside a while loop that is embedded in a for loop iterating through a struct of arrays. The issues I am coming across is before the array iterates again, I want to have ...
Zachary Vandermude's user avatar
Advice
0 votes
0 replies
25 views

Question: I'm building a testing system for a data quality SaaS app where tests are entirely props-driven (similar to React component testing philosophy). Goal: Create reusable, composable test ...
Vijay Savaliya's user avatar
0 votes
0 answers
49 views

Hello I have a project in which I need to validate some code if chosen role is Scientist. I have written my validator (current validation logic is irrelevant) package com.example.keycloak; import org....
adab's user avatar
  • 1
1 vote
0 answers
46 views

I've been working with the csv-validator-java-api and came across a potential discrepancy in its documentation (or maybe I misunderstood how to use it). According to the documentation, the inner ...
kaffein's user avatar
  • 1,778
1 vote
1 answer
45 views

I've created a custom validator in Phalcon by extending Phalcon\Filter\Validation\AbstractValidator. I implemented the allowEmpty method to define a custom rule for what should be considered an "...
Dvamuch's user avatar
  • 11
0 votes
1 answer
126 views

I am creating a contact form and validating using javascript event listener. The invalid event listener is working for the input elements from the deafult required class added to the input fields. ...
Fangles's user avatar
0 votes
1 answer
85 views

I’m creating a simple HTTP GET event in the Godspeed framework. My goal is to accept a query parameter called name and return a response. However, when I define the event YAML with type: string ...
Manish Kumar's user avatar
0 votes
0 answers
283 views

I'm having somewhat of an issue using Zod form resolver. Using PrimeVue forms, I have validate-on-value-update activated: <Form v-slot="$form" :initial-values="form.data()"...
Christopher Ansbaugh's user avatar
0 votes
3 answers
113 views

I am writing a API for a program. The program has a native support of "globed" paths such as img-0*.png. I would like to know how to be sure that there is at least a file satisfying that ...
cards's user avatar
  • 5,281
0 votes
1 answer
154 views

This is an Excel VBA problem I can't solve. I have a quite large and complex workbook, with many sheets. The main working sheet is named "Riassuntivo". In it, I create by code different ...
BennyB's user avatar
  • 21
0 votes
1 answer
40 views

I have a collection with objects like this: { "_id": "test", "rows": [ { "id": "r1", "blocks": [ { &...
takanuva15's user avatar
  • 1,760
1 vote
2 answers
65 views

Environment: Windows 12, Visual Studio 2022 (Community Edition) I’m trying to validate an XML file against its DTD in Visual Studio. When I run the validation, I get the error. xml file (sample.xml) &...
user2354396's user avatar
0 votes
0 answers
87 views

According to the ASP.NET Core Blazor file uploads: OpenReadStream enforces a maximum size in bytes of its Stream. Reading one file or multiple files larger than 500 KB results in an exception. This ...
DevQt's user avatar
  • 1,920
-1 votes
1 answer
76 views

I am validating a textbox (specifically, a Telerik RadTextBox, but I don't think that is the problem). I've tried both RequiredFieldValidator and CustomValidator. When I press Tab, validation works ...
Nancy K's user avatar
  • 51
0 votes
3 answers
79 views

I have an ASP.NET Core project and I'm trying to set custom text for the validation tooltip for the HTML form input field. By default, it shows "Please fill out this field". I tried to add ...
Stanislav Panferov's user avatar
1 vote
1 answer
38 views

How can I disable a whole section of a form in TypeScript/React? Body: I'm building a form in TypeScript (using React), and I want to disable an entire section of the form — similar to how Stack ...
alii_kh79 k's user avatar
1 vote
2 answers
128 views

I’m currently working on a Student Grade Management System in C# as part of my learning project. The application allows users to add students, assign grades, calculate averages, and display student ...
sumk02's user avatar
  • 21
0 votes
1 answer
73 views

ListingController.cs: public IActionResult Create() { CreateListingViewModel model = new() { AllCities = new SelectList(_addressRepo.AllCities()), AllItems = new SelectList(...
IgorArnaut's user avatar
1 vote
1 answer
85 views

I have a very simple scenario that looks like std::ifstream file("myfile.txt"); std::string discard; int num; file >> discard >> num; // to consume e.g. HEADER 55 Despite all ...
avigt's user avatar
  • 600
0 votes
1 answer
297 views

if (!hasAnyPhoneNumber) throw new NotEmptyException("PhoneNumber", MessageHelper.GetMessage(ErrorMessageName.NOT_EMPTY)); I haven't tried any specific solution yet, but my goal is to ...
Nicat Muxtarov's user avatar
0 votes
2 answers
116 views

I am seeking help with an Match Based Array that is compatible for Data Validation List / Cell Drop Down. Basically what I need is a Drop down list with options based on a Cell Reference Match with ...
JeremyLongs's user avatar
0 votes
1 answer
108 views

I’m working with a client who wants to reduce the execution time of my application when making multiple DAX calls. Currently, the flow is: I use an LLM to generate a DAX query based on report ...
Bam's user avatar
  • 11
0 votes
1 answer
133 views

Im currently making a visitor app for my work place, its a simple app allowing visitors to sign in and out, i have text boxes asking for the visitors information. My SignInView has alot more textboxes ...
Conan Kildea's user avatar
1 vote
0 answers
54 views

A small example of the code The backend example: package main import ( "time" "github.com/gin-gonic/gin" "github.com/go-playground/validator" ) type ...
Marcelo Ramalho's user avatar

1
2 3 4 5
1356