attach aditional data to the form

Is it possible somehow to attach aditional data to the form ?

this data should be send to the server when the form is submited. I’m using the send method to submit the form.

and one more question.

How can I add values to the values object in the onBeforeSave event ? If I add some data to this object in the onBeforeSave event this data will be sent to server,right ?

Hi,

you can try to disable the item. In my opinion disabled items are sent to the server!
Hope it helps you.

To send additional data with the form you can use hidden fields:

Please find more information here docs.dhtmlx.com/doku.php?id=dhtm … controls&s[]=hidden&s[]=form

How can I add values to the values object in the onBeforeSave event ?
You can set item value with setItemValue (name, value) method.
docs.dhtmlx.com/doku.php?id=dhtm … titemvalue