All Questions

15
votes
2answers
2005 views

Laravel 5.2 Validation Error not appearing in blade

I want to show validation Error in View page while user giving wrong input. It's Ok that it's not saving anything in database while a user giving wrong input. But there is no error message in user vie...
7
votes
5answers
28896 views

Why do we need both client side and server side validation?

The argument for using both client side validation (JavaScript) and server side validation using a validator is this: If the client browser does not support JavaScript, then the user cannot use client...
21
votes
1answers
13969 views

iOS Server Side Validation - receipt types

I'm getting 2 kinds of receipt formats from Apple when i try to verify purchases on the server. Any idea what's the difference ? 1) content: { status: 0, receipt: { item_id: "662554...
8
votes
3answers
2385 views

So is it safe to validate form on client-side only?

Of course, I know that server-side validation is a MUST. I'm using jQuery to validate form inputs and using jquery ajax to do server-side(PHP) validation at the same time. So I guess it may be safe...
5
votes
6answers
5515 views

User input validation, client-side or server-side? [PHP/JS]

Is it better to validate user input before it's sent to the server with JS or server side with PHP? Or maybe it's worth doing both just to be on the safe side? I'm creating a site (very simple at the...
2
votes
1answers
1219 views

Server side verification of Google Play in-app billing purchase signature failed

i'm currently integrating Google Play in-app billing to my androidgame project, i have a Node.js server set up and plan to send it the "originalJson" and "signature" value of the Google Play purchase ...
2
votes
1answers
1828 views

Make client-side and server-side validation rules the same

I have an application who use ASP.NET MVC and KnockoutJS for the MVVM part. The server bind the data to the server by JSON. The client treat data and make a standard POST callback after that. I have ...
2
votes
1answers
352 views

Processing Dynamic Form

I've a JS dynamic form, where i can add or remove fields: Field 1 Field 2 Field 3 Field 4 Now if I remove Field 2 and add a new field: Field 1 Field 3 Field 4 Field 5 I'm sending this through Aj...
1
votes
2answers
2420 views

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 geoco...
1
votes
0answers
83 views

Should server side dto validation validate the existance of data or the integrity?

So far I have always validated my dto`s properties for existing values, min, max, length etc.. Now I have a usecase with my http api where the payload of a http post contains Ids (database foreign ke...

Previous Next