Hello,
trying to use Form 3 and add a calendar field to it.
{type:"fieldset", name:"personalinfo",label:"Personal information",inputwidth:"auto", list:[
{type:"input",name:"pname",label:"Name",validate:"NotEmpty"},
{type:"input",name:"mname",label:"Middle"},
{type:"input",name:"psurname",label:"Surname",validate:"NotEmpty"},
{type:"calendar",name:"birthdate",label:"Birthdate"}
]
}
When trying to test the form I get this error :
Message: 'null' is null or not an object
Line: 788
Char: 487
Code: 0
URI: http://localhost/dhtml/codebase/dhtmlx.js
If I remove calendar field then form works fine.
I have used libcompiler and I include a single dhtmlx.js file
Thank you