send saveBackup Object to server

Hi,

is there a solution for send a saveBackup object to server and get it back to restore the form (i.e. with php)

Background: we have some very complex forms and we don´t need to save each value. It would be ok to save the form in it´s current state and restore if needed.

Hi

Do you mean form struct or values?

Both,

I know how to extract the values and send to the server. But in my application there´s no need to extract each value and store it in single fields in the database.

So for me the method saveBackup would fit my requirements if it is possible to send the result as a binary object to server and get it back from there a rebuild the form (struct and values) with restoreBackup.

Or would also be possible to extract only the values in a form

{name:f1, value:test1},
{name:f2, value:test2},
{name:f3, value:test3} (or similar). On server side I can save this in a textfield without extracting each field

And (and this is the point) send this back to client during form load and fill all values back to form. Perhaps it is possible to loop over the array and set each value within the loop.

Hi

there is no method for struct, only for values - getFormData()
docs.dhtmlx.com/api__dhtmlxform_getformdata.html