Hi Jack. I will write some more details when I get home. Have you ever used Ajax?
On Thu, Nov 9, 2017 at 3:14 PM Jack <[email protected]> wrote: > 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 [email protected]. > To post to this group, send email to [email protected]. > 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 > <https://groups.google.com/d/msgid/django-users/eab1a4c0-2cc1-41d0-aace-f8ef3fd73112%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- -- Adam F. Simon, PhD Calabasas, CA. cell: 818-425-3719 home: 818-880-8405 Feel free to link w/ me: LinkedIn -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAH-jdcw11Z1w2qRCkuwzdXL0qFNXD1PkLJsw6sRSVHNDBfWAfQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

