Input MaxLenght

Hi,

I am using the pro version 3.0 and the input maxlenght is not working
Here is the code:

var base_layout = new dhtmlXLayoutObject(document.body, ‘3E’);
var cellInfo = ‘a’;
var cellStates = ‘b’;
var cellActions = ‘c’;

var str = [
{ type: “input”, name: “workflow_name”, label: “Name”, validate: “NotEmpty”, inputWidth: 50, maxLength: 50 },
{ type: “input”, name: “form_description”, label: “Description”, validate: “NotEmpty”, inputWidth: 100, maxLength: 100 }
];
var form_info = base_layout.cells(cellInfo).attachForm(str);

Am I missing something?

Try to replace your dhtmlxform.js file with file from attachment
dhtmlxform.zip (15.9 KB)

That worked, thanks