Hi,
There is currently a problem on a site I developed when someone using a Mac tries to enter items with "Multiple" switched on in Custom Field Template. The post they are trying to add these items to is a normal Post (not Custom).
Strangely there are two problems arising but these only occur on some of the fields below. They occur on the [photos], [audio-files] and [youtube] fields but not on the [soundcloud] and [como-logos] fields. How weird is that! But anyway, the two problems...
First of all, I am recommending them to use Select By Media Picker. This works fine except for the fact that it is creating two entries in the Media section. This isn't a huge problem until someone tries to find the image in the Media section and then has to choose between the two.
The real problem is occurring only occasionally but is very strange. Sometimes when they are saving a document that includes lots of different values in the [photos], [audio-files] and [youtube] fields it is multplying the values so for instance after the document has been saved there will now be four instances of the same photo in the custom fields section. Just recently this happened with one post where every value in the [photos], [audio-files] and [youtube] fields were multipled by six. So there was six instances of every value, even though these values were identical.
Has anyone had problems similar to either of these? Do you think there's anything wrong with the code I'm using below?
[photos]
label = Photos for event gallery (Use Select by Media Picker)
type = file
relation = true
mediaPicker = true
mediaLibrary = true
mediaRemove = true
multipleButton = true
multiple = true
hideKey = true
[audio-files]
label = Upload mp3s to play on events page (Use Select by Media Picker)
type = file
relation = true
mediaPicker = true
mediaLibrary = true
mediaRemove = true
multipleButton = true
multiple = true
hideKey = true
[soundcloud]
label = Add Soundcloud (use wordpress shortcode, i.e. [souncloud url="x"])
type = text
size = 60
multipleButton = true
multiple = true
hideKey = true
[youtube]
label = Add Youtube or Vimeo Videos
type = text
multipleButton = true
multiple = true
hideKey = true
size = 80
[como-logos]
label = Logos of Sponsors, Funders, etc., (Use Select by Media Picker)
type = file
relation = true
mediaPicker = true
mediaLibrary = true
mediaRemove = true
multipleButton = true
multiple = true
hideKey = true