Send more than one form back to server


#1

Hi,

I have a layout with 2 different forms and want to send the content of both forms in one call to the server. I know about .save and .send but these commands are form specific. What I miss is something like .serialize for a form.

Is there any “best practise” solution for this??

The name attributes are unique over the 2 forms.


#2

Hi

myForm.getFormData() will give you all form’s data in {name:value} view, combine manually and send also manually.

also there is possibility to split form into different parent containers, i.e. you will have one form but splitted into tabs for example.

demos are listed below:
dhtmlx.com/docs/products/dhtmlxF … split.html
dhtmlx.com/docs/products/dhtmlxF … mplex.html


#3

Can I serialize items from a specific block only ?


#4

Unfortunately such feature is not supported. You will have to expand that data manually.