We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Nested Grid Tags Break?

How Do I?

anthony.pinskey's avatar
anthony.pinskey
7 posts
8 years ago
anthony.pinskey's avatar anthony.pinskey

Is there a way to have nested grid fields within eachother from the same channel entry? I am trying to compare a multi-select list value to see if it relates to another field.

{exp:channel:entries channel="data"}
 {grid_field_a}
  {grid_field_b}
    {if grid_field_a:field_1 == grid_field_b:field_1}
     Match found
   {/if}
  {/grid_field_b}
 {/grid_field_a}
{/exp:channel:entries}

If you do the above without the conditional and just add the standard tag pairs to display values, it renders Grid Field B’s value, but the tags show as broken for Grid Field A

{grid_field_a}
 Grid Field B value renders here
{/grid_field_a}
       
Derek Jones's avatar
Derek Jones
7,561 posts
8 years ago
Derek Jones's avatar Derek Jones

Hi AnthonyP!

There is not a direct way to display one grid field’s columns inside another Grid field. Can you describe the contents that of these Grid fields hold, and what type of association there is in the multi-select content?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.