OK so this should be simple, but its not working. If I hardcode the value of id to 20 in the Loop the result works, but I can’t seem to pass refid into the loop and I can’t close the get tag without getting an error as I thought maybe that would be the problem. Also FYI – I tried passing id={URL query=referrer} into the loop and it caused a critical error on site…What am I missing here??
<Set referrer>20 </Set>
<Set sharer><Url current />/?referrer=<Get name=referrer /></Set>
<a href="https://www.facebook.com/sharer.php?u={Get name=sharer /}">SHARE ON FACEBOOK</a>
<Set refid><Url query=referrer /></Set>
<If check={Get name=refid}>
<h3>Agent Spotlight</h3>
<Loop type=user id={Get name=refid}>
<If field=id value={Get name=refid}>
<Field full_name /> <Field id />
<User id />
</If>
</Loop>
</If>