Server Side Validation Error

Hi,

I have just tried to use server side validation, however I am having errors thrown up in the console.

I’m not sure what i’m doing wrong, so any help debugging this would be grateful.

Validation

Console

XHR

serverconnectForm.js
image

I’m sure it’s something stupid, but I have been looking at it so long I just can see what I’m doing wrong.

Thanks,
Ray.

Is that the Id or the input name in the Linked Field box? It should be input name

Also check that the dmxConnectLib/lib/validator directory is uploaded

Hi Brian,

Now, here’s the funny thing, I don’t even have a dmxConnectLib folder in my local folders, let alone on the live server.

image

When I added a server side validator, should this have been created on my local side?

Ray.

I would have expected to see this.

image

Just noticed you are using .net, may be different to PHP

The error is client-side, server-side returns a 400 status with the error in the json response, the javascript is then generating the error.

Do you have the dmxValididator.js file included on the page?

The dmxConnectLib folder is not available with .NET, it has all the libraries compiled in DLL files located in the Bin folder.

Thanks @patrick.

I thought this would have been added automatically?

Ray.