Server side validation problem

Hi !

I have a problems with server validation. The best description of the problem will be the example itself:
My Form is the following:

DynamicForm.create(
{"width": "300", 
"height": "400", 
"ID": "maintainAddElement", 
"fields": [{"type": "header", "title": "Add element", "defaultValue": "test", "name": "Add element"}
, {"type": "SpacerItem"}
, {"type": "text", "title": "parent", "disabled": true, "name": "parent"}
, {"type": "text", "title": "ident", "required": true, "name": "ident"}
, {"type": "SpacerItem"}
, {"type": "Button", "title": "Save", "click": "form.validateData(); form.save()", "endRow": false, "name": "Save"}
, "dataSource": RestDataSource.create(
	{"dataURL": "/dataServer.html", "ID": "elementEditDataSource", "identifier": "elementEditDataSource", "fields": [{"type": "text", "title": "backgroundColor", "name": "backgroundColor"}
, {"type": "text", "title": "ident", "validators":  { type:"custom" }, "name": "ident"}
], "dataFormat": "json"})
})
}

My server get the request:
{
actionURL:“/dataServer.html”,
showPrompt:true,
transport:“xmlHttpRequest”,
useSimpleHttp:true,
promptStyle:“dialog”,
params:{
parent:“mainAppVLayout”,
ident:“ssss”,
_operationType:“validate”,
_dataSource:“elementEditDataSource”
},
httpMethod:“GET”,
sendNoQueue:true,
callback:{
target:null
},
willHandleError:true,
serverOutputAsString:true,
data:null
}

and respond with:
{“response”:{“status”: -4, “errors”: {ident: “not unique”}}}

I’m aware that validator isn’t defuned, but if I put anything ( example: condition:function (item, validator, value) { }) only the client walidator is called (on server I get no validation request). Any suggestions?

As Log message I get a loooong message:
14:41:08.743:MUP1:WARN:Validator:validator not understood on item: TextItem{eventParent: [DynamicForm ID:maintainAddElement],
containerWidget: [DynamicForm ID:maintainAddElement],
form: [DynamicForm ID:maintainAddElement],
type: “text”,
title: “ident”,
required: true,
name: “ident”,
validators: Array[3],
ID: “isc_TextItem_4”,
hasFocus: false}:
{type:“custom”}
14:41:08.874:MUP1:WARN:Validator:validator not understood on item: TextItem{eventParent: [DynamicForm ID:maintainAddElement],
containerWidget: [DynamicForm ID:maintainAddElement],
form: [DynamicForm ID:maintainAddElement],
type: “text”,
title: “ident”,
required: true,
name: “ident”,
validators: Array[3],
ID: “isc_TextItem_4”,
hasFocus: false}:
{type:“custom”}
14:41:08.956:XRP6:WARN:validation:maintainAddElement:Validation errors occurred for the following fields with no visible form items:
gsub:- function (pattern, replacement) {
var result = “”, source = this, match;
replacement = arguments.callee.prepareReplacement(replacement);
while (source.length > 0) {
if (match = source.match(pattern)) {
result += source.slice(0, match.index);
result += String.interpret(replacement(match));
source = source.slice(match.index + match[0].length);
} else {
result += source, source = “”;
}
}
return result;
}
scan:- function (pattern, iterator) {
this.gsub(pattern, iterator);
return String(this);
}
truncate:- function (length, truncation) {
length = length || 30;
truncation = truncation === undefined ? “…” : truncation;
…

In meantime (after half a day of work) I try it again and now it works - sorry to inerrupt you.