Closed (won't fix)
Project:
Invite
Version:
6.x-2.0-alpha1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 May 2010 at 23:25 UTC
Updated:
28 May 2010 at 16:50 UTC
I'd like to be able to auto-populate the To section. The list of email addresses would come from a lookup from an external source (ie. list of friends on a social network site who are not members). What's the best way to do this?
Comments
Comment #1
tgaff2x commentedI figured out a solution on my end. Not sure if it's the best approach, but it works for my current purposes. I was originally looking for more of an API type solution where I could call the module directly with additional values. I couldn't get that to work, so I wound up with the following:
1. created a block that only appears on the invite page
2. the block checks to see how the invite page was called and the user who called it
3. based on the above, it makes a call to the database to get a list of email addresses
4. it then executes some JS to update the edit-email field of the form
on to the next one....