arun_sahadeo Posted August 23, 2021 Share Posted August 23, 2021 (edited) How do I identify the last item in a repeated section or identify the size of a repeated section? When I say "Repeated Section", I am referring to the second item in https://developers.squarespace.com/json-t-directives I know I have the "@index" variable, but I can't find any information on the Squarespace Developers knowledgebase as to how I can achieve my aim (i.e. to identify the last item in a repeated section / its size) Edited August 23, 2021 by arun_sahadeo Beyondspace 1 Link to comment
Beyondspace Posted November 10, 2021 Share Posted November 10, 2021 On 8/24/2021 at 1:22 AM, arun_sahadeo said: How do I identify the last item in a repeated section or identify the size of a repeated section? When I say "Repeated Section", I am referring to the second item in https://developers.squarespace.com/json-t-directives I know I have the "@index" variable, but I can't find any information on the Squarespace Developers knowledgebase as to how I can achieve my aim (i.e. to identify the last item in a repeated section / its size) Have you sold that yet BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment