I hope I can discribe this issue right, if you need more clairification just ask.
I have the Embedded Media component installed along with Embed Video and Embed Image. I have enabled multiple input fields in the config so that people can link to more than one item.
The issue I am seeing is before I save my content I have 5 input fields for both video and pictures, but if I go in and edit the content there are now 10 boxes for each content type. If I edit the content a third time I get 15 boxes and so on and so forth.
As you can imagine that this is a pain in the butt after editing the content a few times.
I need a way of limiting the fields to only show only 5 at a time, or 10 at the most. The way it currently works is ridiculous.
Thanks!
Comments
Comment #1
Wouter Van den Bosch commentedBump.
I have the same problem. (v 1.5 2007/10/08).
For every save of the node, more empty fields are added on the next edit of the node. I can see in the emfield.module that you have a delta set to zero every time, so it's odd that it adds up on every save.
Just wanted to add my two cents here before I look further into what's going on.
Cheerio,
W
Comment #2
Wouter Van den Bosch commentedI just checked my database.
Could it be that you save the empty fields as well ? It looks that way, because I have about a dozen empty fields in my database, apart from the one I filled in for that particular node.
I would say you need to filter on what is actually filled in before saving. That way the delta doesn't go up like that.
Cheers,
W
Comment #3
ofridagan commentedDid someone solved this problem?
it sounds like we only need to add a simple condition... but where?
Comment #4
aaron commentedi think this is a duplicate. but i'll leave this open for reference.
Comment #5
aaron commentedsee http://drupal.org/node/173909
Comment #6
aaron commentedi must have fixed this earlier, because it's working fine for me. reopen if it's still broken for you.
thanks,
aaron
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.