Share via


Getting Contact Information

The IGrooveFormsToolContactGetContactInfo method returns the specified item from the contact. For example, the following script code sets a field of the form using the full name as stored in the contact.

  ...
  var record = GetFormRecord();
  var PMContact = record.OpenField("ProgMgr");
  if (PMContact)
  {
     var fullname= contact.GetContactInfo(
       GrooveFormsToolContactOutputInformation_FullName);

     SetHTMLFieldValue("ProgMgrName",fullname);
  }
  ...

In This Section

Getting the ContactURL from the Contact

See Also

Concepts

Using Contacts in Forms