Not sure why required=“true” doesn’t work. Personally, I use json structure to initialize a form. In almost all cases except multiselect required: true works for me.
You can initialize your form using json in the following way:
and sorry for the late response. What do you mean by complete demo? I can send you the jsp and the xml template of the form which is used in the jsp. Is that fine??
sorry for long response. please check attached demo.
seems like version of your compiled dhtmlx.js is 3.0, and form do not have “required” functionality for this version. I attached latest 3.6, should work now. please download latest version from our site or request it at our sales team via support system.
please check demos attached for 3.6 and for 4.0 versions
you need to open them under serserver otherwise xml will not loaded at all
maybe on your side xml cached? 4.0 will ad no_cache signs automaticaly, in 3.6 you will find &etc=new Date().getTime() demo_4.0.zip (408 KB) demo_3.6.zip (45.1 KB)
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan