Complex Form in Webix

i have a requirement where I can add and delete a part of the form shown as in the image link Screen-Shot-2020-01-06-at-11-46-35-PM — ImgBB. The plus button will add a block of the form under the existing block and the delete button will delete the block.

@intregal can u please help me this is bit urgent

probably you need something like this
https://snippet.webix.com/0ugbjplq

@intregal u saved my life. thanks a lot

@intregal Please have a look this snippet
https://snippet.webix.com/sqy0el73

I have the following issues
(1) After clicking on + icon views are adding but the container is not expanding
(2) The trash icon is not working second time
(3) Get Values and Set Values button are not working

Please help me again

  1. make parent container (subform) scrollable. use normal layout instead of abslayout.
  2. use webix.copy(layout) in elements config.
  3. they work. you just need to stringify values on get.

also make add button unique and remove it from subpart config.

dirty fix
https://snippet.webix.com/iz8m62vd

@intregal thanks a lot again for your quick help. I m able to achieve the UI what I want using your example but still i m facing issue while getting form data if I add 2 books I m only getting one book in form data JSON also when I click set data button I m not able to see 2 books which are added in the JSON object. Kindly help

https://snippet.webix.com/7a124cxt

@qadirkanore
you need a bit deeper subform implementation.
hope this help you
https://snippet.webix.com/4ayou086

@intregal thanks a lot for your kind help now I m able to achieve what my client wants also want to thanks the Webix team for this amazing library which makes developer life easier.