Ok I'm very stuck. Thought very hard about it but can't see how I can add a hidden field into the HTML, and relay the specified instance of the hidden field back to the views... or am I completely off about something?
Also in regards to the looped form's. If you look at my original code, I actually do have a <form> representing a button for each agent. The resulting page looks like this <https://i.gyazo.com/bf67b8a3808fb14a265459776847c08b.png> (excuse the bad CSS). I'm not sure if that is what you meant by having a form for each agent. So if I understood you correctly, I do have a separate <form> input for each displayed agent; looped with {% for agent in agent_list %}. The question is, how do I relay the correct agent linked to its 'Send Invite' button back to the views? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/eab1a4c0-2cc1-41d0-aace-f8ef3fd73112%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.