Please forgive my absolute noobiness. I am a general newbie at coding and I have approximately 14 hours ( yeah, hours) of Spry experience. If anything I have been using javascript, jQuery, PHP and the like.
Anyway, on to my question. I is there a way for Spry to USE variables of other Spry data?!? For example, assume the following is within a spry region which includes bindings to several tables: “grades”, “Kinder_tch”, “First_tch”, “Second_tch” … and up to “Sixth_tch”.
since the “grades” is linked to a table that includes the names of the grades :“Kinder”…“Sixth” ( let say the name of this column in this table is “GRDE”). I would like to be able to use the results of a spry:repeat as a variable to call other spry methods… ( i hope i have my terminology right )
conceptually something like…
<div spry:repeat=“grades”>
<ul spry:repeatchildren=“{GRDE}_tch”><li><a href=“{{GRDE}_tch::Link}”>{{GRDE}_tch::Suffix} {{GRDE}_tch::LastName}</a></li></ul>
</div>
So as spry repeat for grades runs… it would function much as a loop which produces the following:
<ul spry:repeatchildren=“Kinder_tch”><li><a href=“{Kinder_tch::Link}”>{Kinder_tch::Suffix} {Kinder_tch::LastName}</a></li></ul>
<ul spry:repeatchildren=“First_tch”><li><a href=“{First_tch::Link}”>{First_tch::Suffix} {First_tch::LastName}</a></li></ul>
<ul spry:repeatchildren=“Second_tch”><li><a href=“{Second_tch::Link}”>{Second_tch::Suffix} {Second_tch::LastName}</a></li></ul>
… and so forth
I hope I have been able to make my quandary sufficiently clear… Thanks all for your help