[Resolved] custom inline form not working
Hello. I’m trying to make a form pop up at the click of a button. The form shows up fine, but when I add data to form elements they’re stored in document fragments of the elements. The values remain intact. While I could get the data from the fragments, I don’t think this is right, so I thought I’d ask here what am I missing.
I suppose I’m having a library loading twice or something.
If you want to replicate my problem and have a look at the form itself, here’s the link to a page where you could replicate this:
In order to get to the form, you need to add at least two colors in your assortment list. (Push “Add to assort list” once, change the product color with click on a swatch and add another color to assort list.)
By now you should have two items in the list on the right and a “Publish List” should have appeared under them. The list content (including the button) are added via ajax, but I’m binding the easy-fancybox function for inline content to it in the success of the ajax call.
Now push the button and try to change anything in the elements and see their values are not changing, but the data is stored in document fragments of the elements. I have bound an alert with the serialized form contents on the form Publish button:
What am I missing? Have you seen this behavior before?
Thank you very much for looking into this.
- The topic ‘[Resolved] custom inline form not working’ is closed to new replies.