fieldgroup and empty value in child field

More
5 days 8 hours ago #85814 by kath
hi there,

my question is:
i have a fieldgroup "text-img-slide" with child fields "text", "image", and the child fields are optiona.
i create carousels with that.
for certain reasons i read the flexicontent-item's child fields' values into a php array and work with that.

problem-example:
slide 1 / fieldgroup-element 1 has a missing image.
that leads to: the seconds image lands in the first array element, because flexicontent (in my setup) does not store an empty value for the empty image in the fieldgroup's first element.

my question:
Can I configure the groupfield, or the child fields to save a null-value or similar in case of empty value?

I hope you can understand the scenario, thanks for reading,
Benjamin :)

 

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.474 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline