Draggable / formeo

Drag & Drop Form Builder
http://draggable.github.io/formeo/
MIT License
534 stars 196 forks source link

Multiple formeos on same page returns same formdata when saved and loads same formeo from different formdata #152

Open dibwas opened 6 years ago

dibwas commented 6 years ago

Hi,

I created a Pen - https://codepen.io/dibwas/pen/yQyaKZ?editors=1111 I have added 2 formeos on same page, but id are different and formeo objects have been assigned to different variables I create different forms in each formbuilders I have 2 buttons at the end to print data in console but both of them give me same output.

Also while I load, I have 2 different data in database for formeoData. When I recreate the formeo for each, both are same.

charmis commented 6 years ago

I think Formeo does not support multi-forms on same page. @kevinchappell please confirm.

kevinchappell commented 6 years ago

@charmis it should, if it doesnt then this is a bug.

dibwas commented 6 years ago

@kevinchappell As mentioned in gitter, I had a delivery this 8th nov, and I am dependent on this bug being fixed. Could we have a timeline for this fix and release? Looking for a favorable reply.

dibwas commented 6 years ago

@kevinchappell Kindly update on the status of this bug. Eagerly waiting for this fix. Thanks in advance

kevinchappell commented 6 years ago

working on a fix now

dibwas commented 6 years ago

@kevinchappell Is this fix in place? Can I pull from Git now ?

mstrokin commented 5 years ago

Seems like it saves fields in some kind of global variable, e.g.: if you add one field to first form, and one field to second form, resulting formData consists of 2 elements

dibwas commented 5 years ago

@kevinchappell any update on this issue ?

maasha commented 5 years ago

I have the same situation. Two form editors on the same page, I save data from the first and load into the second in a new session, and both editors are populated ...

makoo7 commented 4 years ago

@kevinchappell any updates on this issue? i am facing same issue while i created three different objects with their unique id but form elements populated into last object only.

jbenjamin commented 3 years ago

Does anyone was able to solve this problem?

dibwas commented 3 years ago

I kind of created a lot of work around 2.5 years back to get around this and somehow completed the project.

jbenjamin commented 3 years ago

Do you mind explaining how did you solve it?

subin1125 commented 1 year ago

I kind of created a lot of work around 2.5 years back to get around this and somehow completed the project.

hi can you please share some details of the solution if you still remember it ?

subin1125 commented 1 year ago

if anyone has any solution to this issue, your response would be greatly appreciated.

jbenjamin commented 1 year ago

Somehow, I made it to work almost 2 years ago. It is very likely not the best solution, but it did work in my project. Tbh I don't remember what I did but I can share the file if you want.

subin1125 commented 1 year ago

Somehow, I made it to work almost 2 years ago. It is very likely not the best solution, but it did work in my project. Tbh I don't remember what I did but I can share the file if you want.

Hi mate, It would be super helpful if you can share the file with us, we are stuck and looking for a suitable solution.

jbenjamin commented 1 year ago

formeo.min.zip Just change the .zip extension to .js. I hope it works for you also.

subin1125 commented 1 year ago

formeo.min.zip Just change the .zip extension to .js. I hope it works for you also.

thanks heaps !!