Prettify Contact HTTP POST

David Bullock — 

This function extends your Infusionsoft system to enable you to clean up the formatting of certain kinds of user supplied information. This is especially useful for users who enter their personal information with CapsLock on, which creates an unprofessional appearance when their information is user in later correspondence.

Example

http://example.com/?operation=prettify-contact&auth_key=yourauthkey

Usage

The Prettify Contact HTTP POST function is compatible with Legacy HTTP POSTs, Actionsets, and Campaign Builder.

Parameters

The Prettify Contact HTTP POST takes no parameters

mailto:  The email address to email the debug results to.

auth_key:  Your Memberium HTTP POST authentication key.  You can find a list of your valid i2SDK authentication keys in your i2SDK plugin.

noaccents:  Remove all accents from the user fields

Prettification Process

The system will prettify select contact fields. This involves:

The following fields are converted to mixed case, where the first letter of each word is capitalized and the following letters are lower case:

Address2Street1Address2Street2Address3Street1Address3Street2AssistantNameCityCity2City3CountryCountry2Country3CompanyStateState2State3FirstNameJobTitleLastNameMiddleNameNicknameSpouseNameStreetAddress1StreetAddress2

The following fields are converted to all lower case:

Email, EmailAddress2, EmailAddress3

The following fields are converted to all uppercase format:

PostalCodePostalCode2PostalCode3

The following fields are converted to uppercase format IF they are 3 letters or less long:

State, State2, State3