Questions tagged [server-side-validation]

119 questions
1
vote
0 answers

Android - Google Server Side InApp Purchases verification Backend Error 500

During the integration of G+ account I have turned off Google Play Android Developer API in Google Developer console by mistake. Google server started to return error: Access Not Configured. Please use Google Developers Console to activate the API…
1
vote
1 answer

Finding the Control associated with ASP.NET validator using JQUERY or simple Javascript

I've a page with few textboxes and their corresponding validators (ASP.NET validator). And clearly I can validate each of those validators from javascript by calling the function Page_ClientValidate("myvalidators") where myvalidators is my…
Sandeep Thomas
  • 4,303
  • 14
  • 61
  • 132
1
vote
1 answer

Checking whether an ID was changed on client side before database update

Considering the below example: HTML Page : An input box with name as "update_12" and new text as : "Some another data" is sent via form to the serverside PHP script (say process.php) Database…
learner
  • 128
  • 1
  • 9
1
vote
2 answers

Kendo UI: Displaying server-side errors using Kendo Validator

I have a web form that does client validation using Kendo Validator. Once client validation succeeds the form values are sent to a web service that does additional validation and either saves the data or sends back a JSON object of error messages…
Daniel
  • 47,404
  • 11
  • 101
  • 179
1
vote
3 answers

ColdFusion: server-side user validations

Is there some way to improve these server-side user fields validations?

Login Name is required.

Password is required.

Paul
  • 25,812
  • 38
  • 124
  • 247
1
vote
1 answer

How to get ModelState Errors at runtime using Key added by ModeState.AddModelError( key,value)

I have added Model error from controller using if( model property not selected) { ModelState.AddModelError("SelectionRequired","Please select atleast one value"); } This error I am adding at many places in that same method but ultimately I want to…
1
vote
1 answer

Java server side form validation using DTO and hash map

I am developing an app using MVC pattern. Controllers: servlets Model: I am following DAO/DTO pattern for accessing database View: simple JSP EL and JSTL For accessing database I am using DAO pattern. I want to put validation method and a HashMap…
Manish gour
  • 145
  • 3
  • 14
1
vote
1 answer

DWR Exception Handling on Server Side

There is documentation for DWR exception handling for Client side: http://directwebremoting.org/dwr/documentation/browser/errors.html But I'm looking for documentation for DWR Server side Exception handling. Basically the problem that I'm running…
Darth_Yoda
  • 93
  • 2
  • 10
1
vote
2 answers

remote jQuery validation with MVC 4, dynamically validate all inputs starting with loc?

Description: I have a simple form in an MVC4 application that has 5 textboxes named loc1-5 and a submit button. The application takes up to 5 addresses in the textboxes loc1-5 and uses the bing geocode services with jQuery to do some processing on…
0
votes
3 answers

server side validation in asp.net application not working

I am putting server side validation but seems it's not working in the way it should. Below is sample code //Validation private void validation() { if (txtFName.Text == string.Empty) { Alert("Invalid Name"); return; } …
Rahul
  • 76,197
  • 13
  • 71
  • 125
0
votes
1 answer

How to disable server side validation for a certain field?

In my apsx page, I have a textbox that allows user input html tags. But it will get following validation error, "A potentially dangerous Request.Form value was detected from the client ...". I tried several ways to prevent it, none of them works…
GLP
  • 3,441
  • 20
  • 59
  • 91
0
votes
0 answers

How to use Yup and React Hook Form to Validate an Object with nested properties

My form submits to backend, but does not validate on the server-side. Here is the schema and the object it is based on: const createEmployeeSchema = yup.object().shape({ name: yup.string().max(100).required(), social: yup.object().shape({ …
0
votes
0 answers

How to do server side validation on the given c# code?

I am a beginner and have no idea how to do server side validation on the form fields! Although I have done the client side validation by JavaScript, but server side validation require! public ActionResult New() { return View(); } //It is add method…
Madiha
  • 1
  • 1
0
votes
0 answers

(React Native) Do you need server side form validations for mobile apps or is it secure enough to do them on the client?

The reasons why having both client side and server side validations for web apps is security. I wonder if its similar for mobile apps (native apps)? If there any security reasons why I should also add validation server side? Thanks!
0
votes
0 answers

Why NestJs saves model with 'null' relation, if it is required in Entity and DTO?

I have an Entities: Company: import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm'; @Entity() export class Company { @PrimaryGeneratedColumn() id: number; @Column() name: string; } Unit: import { Company } from…
Rustam Apay
  • 551
  • 1
  • 4
  • 18