Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

How pass variables between templates? AJAX maybe?


Go to End


1203 Views

Avatar
camh96

Community Member, 1 Post

21 May 2016 at 9:12pm

Hey there,

I have one page with a bunch of links, and I want to get the ID of what the user clicks, and pass it into another template, so I can loop through it and return data about what they clicked,

Is that possible in silverstripe? How would I do it?

Thanks!