Upload with required atribute

Hi
I’m using DHTMLXForm with upload. Is any way of making it required?

You can use onBeforeSave event of form
docs.dhtmlx.com/api__dhtmlxform … event.html

From this event handler, you can check the current value of form ( getFormData ) and based on it show some message and deny the form saving ( return false )

Perfect!
Thanks