The following table shows the variables available as the Default Value for Forms pages' Salesforce Elements. The standard format for all variables is:
{$FieldName}
Data | Variable | Requires web visitor login? |
---|---|---|
IP Address of visitor | {$IPAddress} | No |
UTM Campaign tracking variable | {$utm_campaign} | No |
UTM Source tracking variable | {$utm_source} | No |
UTM Medium tracking variable | {$utm_medium} | No |
Soapbox username of logged in user | {$username} | Yes |
Soapbox email address of logged in user | {$email} | Yes |
Contact.ContactId of logged in user from Salesforce | {$ContactId} | Yes with Portals |
Contact.AccountId of logged in user from Salesforce | {$AccountId} | Yes with Portals |
Contact.FirstName of logged in user from Salesforce | {$FirstName} | Yes with Portals |
Contact.LastName of logged in user from Salesforce | {$LastName} | Yes with Portals |
Contact.Salutation of logged in user from Salesforce | {$Salutation} | Yes with Portals |
Contact.AssistantName of logged in user from Salesforce | {$AssistantName} | Yes with Portals |
Contact.AssistantPhone of logged in user from Salesforce | {$AssistantPhone} | Yes with Portals |
Contact.Birthdate of logged in user from Salesforce | {$Birthdate} | Yes with Portals |
Contact.Department of logged in user from Salesforce | {$Department} | Yes with Portals |
Contact.Description of logged in user from Salesforce | {$Description} | Yes with Portals |
Contact.Fax of logged in user from Salesforce | {$Fax} | Yes with Portals |
Contact.MailingAddress of logged in user from Salesforce | {$MailingAddress} | Yes with Portals |
Contact.MobilePhone of logged in user from Salesforce | {$MobilePhone} | Yes with Portals |
Contact.OtherAddress of logged in user from Salesforce | {$OtherAddress} | Yes with Portals |
Contact.OtherPhone of logged in user from Salesforce | {$OtherPhone} | Yes with Portals |
Contact.Phone of logged in user from Salesforce | {$Phone} | Yes with Portals |
Contact.Title of logged in user from Salesforce | {$Title} | Yes with Portals |
Value of any custom field on Contact object in Salesforce for logged in user | {$FieldName__c} | Yes with Portals |
For a list of all variables available in Forms, refer to to Using variables or text as a Default Value for Forms and Variables available as the Default Value of a field on a Forms page. For details on using the logged in user's Soapbox username or email address as default values, go refer Prepopulating values with logged in user's Username and Email. For information on using the visitor's IP Address, refer to Using submitter's IP address as a Default Value.
For information on locating a Field Name in Salesforce, refer to Pre-populating values with logged in user's Contact information.
For information on how to use prepopulated values to create records in Salesforce that are children of the logged in user's Account or Contact, refer to Creating records related to logged in user's Contact or Account record.