I'm working on a web form that adds contact info to a gmail account. I've got it working thanks to a tutorial I found but I can't get it to add the contact to a specific group. I am using the Zend API with gmail.
Every contact from this form will be added to the same group. Does anyone have experience with this that can help me?
Here is my code snippet for the group portion:
// add group name element
$group = $doc->createElement('gContact:groupMembershipInfo');
$groupName = $doc->createElement('gContact:groupMembershipInfo', $inputData['group']);