I'm working on a site where I need to create a cars database. I created the CPT "Coches" (cars in spanish) with every feature I need as custom fields, make, model, color, fuel, etc. I added two repeatable field, Image Gallery and Video Gallery to save images and videos for every car. When I create my first car and click on "add first image gallery" I get an browser alert saying "The element for this entry could not be created without saving. This may occur because of the interaction of other plugins with the Repeating Fields Group. Save the entry and try again." I saved the car and try again but the erros shows again.
Hello. Thank you for contacting the Toolset support.
I would like to know and clarify first - do you want repeating field (multiple instance) or repeating field group (group of fields [like image, image caption, uploaded date] with multiple instance)?
If you want to have repeating field group, you will have to save the post first and then add the repeating field group items because internally it forms one-to-many post relationship where parent is the current post where you adding repeating field group items and child(s) will be the items you will add to the repeating field group.
Hi Minesh, I'm using repeatable fields group, but it's true that I have only one field in each group (image in image gallery group and video in video gallery group) I just want to be able to save several images in my CPT car to display them in the frontend as a gallery or carousel. If you think that is better to use repeating field only I can change that if I can use those images as a gallery. Instead of that, I've created the repeatable group fields as explained in the link you gave me. Just to try, I deleted both repeatable field groups (images and videos), save the CPT, and created again the repeatable field groups. When I try to create a new car and try to choose the first image, the error shows again. Thank you for your time.
Thank you Minesh, I deleted the Repetable Fields Groups an added a single repeating image and video fields, they work fine in my CPT. I'll have a look at your link to create galleries. Thanks again for your time