Hi,
So i have this dataset for the form
var formData = [
{type: "block", list: [
{ type:"settings" , labelWidth:100, labelAlign:"right", inputWidth:500, position:"label-left", offsetTop: 20 },
{ type:"input" , name:"titre_fr", label:"Titre", required: true },
{ type:"ckeditor" , name:"desc_fr", label:"Description", required: true },
{ type:"ckeditor" , name:"contenu_fr", label:"Contenu", required: true },
formSubmitBtn
]},
{type: "block", id: "form_content_tab_en", list: [
{ type:"settings" , labelWidth:100, labelAlign:"right", inputWidth:500, position:"label-left", offsetTop: 20 },
{ type:"input" , name:"titre_en", label:"Titre", required: true },
{ type:"ckeditor" , name:"desc_en", label:"Description", required: true },
{ type:"ckeditor" , name:"contenu_en", label:"Contenu", required: true },
formSubmitBtn
]},
{type: "block", id: "form_content_tab_ar", list: [
{ type:"settings" , labelWidth:100, labelAlign:"right", inputWidth:500, position:"label-left", offsetTop: 20 },
{ type:"input" , name:"titre_ar", label:"Titre", required: true },
{ type:"ckeditor" , name:"desc_ar", label:"Description", required: true },
{ type:"ckeditor" , name:"contenu_ar", label:"Contenu", required: true },
formSubmitBtn
]}
];
When i attach more then one form using the same dataset these two blocks “form_content_tab_en” and “form_content_tab_ar” will be gone from the first form and move to the second form.
When i made another dataset and changed the block names, every thing went as expected.