Display only specific sub-loop item
-
Hi Bernhard, Is there a way to pull values from a specific item in a sub-loop?
For example, in my basenode “property” I have a sub-loop for “property_unit”, and within property_unit sub-loop I have other sub-loops.
Here’s an example:
‘{“property”:[{“property_name”:”property1″, “property_unit”:[{“unit_name”:”unit1″, “unit_rates”:[{“rate1″:”155.00”},{“rate2″:”85”}],{“unit_name”:”unit2″, “unit_rates”:[{“rate1″:”90.00”},{“rate2″:”75.00”}]}]}’Is it possible for me to display values only from the 2nd item in the property_unit sub-loop (e.g., values for where unit_name = “unit2”)?
Thanks,
Bruno
The topic ‘Display only specific sub-loop item’ is closed to new replies.