The comments field in Pardot allows multiple submissions to accumulate, which is great if you have customers that have a tendency to keep filling out forms on your site.
The issue with this is that while Pardot helpfully puts a date stamp after each submission, when this field is synched with Salesforce, the comments all run together and become quite unreadable.
However, if you’re using form handlers to pass form data to Pardot, there’s a way to pass some hidden code to help things look a lot more tidy. Just remember %0A. This is the carriage return code in a URL and it will automatically make your Salesforce Pardot comments look a lot better!
This works great when you are passing a URL string to the Pardot form handler, as you can just insert a %0A wherever you want a line break to occur. So for example if you wanted to make sure your comments field appeared on a new line in the Pardot commends field in salesforce, the url string would look something like:
&comments=%0A{comment_from_external_form}%0A
This creates a line break before and after your comments. It doesn’t make any impact in Pardot, but it looks a lot better in Salesforce!
Another trick that you can use with a form handler is to submit to the comments field more than once, and add additional commentary that’s outside of your field value, as long as you are encoding any additional characters such as spaces with their unicode equivalents, space=%20 comma=%2C and so forth.
So for example, you could double-submit to the comment field in the form handler additional information from another separate form field to add a second piece of information in the comments field on the same submission:
&comments=%0ASome%20other%20piece%20of%20info%3a{the_answer_from_the_form}%0A
A great application for this is to allow you to record fields with transient meaning as comments and not have to include them as part of the Pardot custom field set, since the meaning is only relevant to that particular form submission at that moment in time. Examples of this might be “do you want the chicken or fish” or “do you want us to call you back immediately”.
This Pardot article written by:Â Bill Fetter
Unfettered Marketing
A collection of random thoughts on how people, places and things in our fascinating world connect to sales and marketing, and what we can learn from it.
Original Pardot Article: https://www.unfetteredmarketing.com/post/how-do-you-keep-the-comments-field-in-pardot-from-becoming-an-awful-mess
Find more great Pardot articles at https://www.unfetteredmarketing.com/blog
Pardot Experts Blog
We have categorized all the different Pardot articles by topics.
Pardot Topic Categories
- Account Based Marketing (ABM) (7)
- Business Units (14)
- ChatGPT / AI (3)
- Completion Actions (5)
- Connectors (10)
- Custom Redirects (4)
- Data Cloud (2)
- Demand Generation (8)
- Dynamic Content (6)
- Einstein Features (12)
- Email Delivery (17)
- Email Open Rates (3)
- Pardot A/B Testing (2)
- Email Mailability (16)
- Do Not Email (1)
- Double Opt-in (2)
- Opt Out / Unsubscribe (14)
- Email Preferences Page (6)
- Engagement Studio (16)
- Industries (1)
- Non Profit (1)
- Landing Pages (9)
- Lead Generation (1)
- Lead Management (13)
- Lead Routing (3)
- Lead Scoring (16)
- Leads (3)
- Marketing Analytics – B2BMA (9)
- Marketing Automation (1)
- Marketing Cloud (3)
- Marketing Cloud Account Engagement (4)
- Marketing Cloud Growth (2)
- New Pardot Features (6)
- Opportunities (2)
- Optimization (2)
- Pardot Admin (64)
- Duplicates (1)
- Marketing Ops (1)
- Pardot Alerts (1)
- Pardot API (2)
- Pardot Automations (3)
- Pardot Careers (12)
- Pardot Certifications (4)
- Pardot Consulting (1)
- Pardot Cookies (3)
- Pardot Custom Objects (3)
- Pardot Email Builder (8)
- Pardot Email Templates (9)
- HML (6)
- Pardot Events (16)
- Pardot External Actions (1)
- Pardot External Activities (4)
- Pardot Forms (29)
- Form Handlers (8)
- Pardot Integrations (20)
- Data Cloud (1)
- Slack (1)
- Pardot Lead Grading (5)
- Pardot Lead Source (2)
- Pardot Lightning (1)
- Pardot Migration (1)
- Pardot Nurture / Drip Campaigns (1)
- Pardot Personalization (3)
- Pardot Profiles (1)
- Pardot Releases (18)
- Pardot Sandboxes (2)
- Pardot Segmentation (5)
- Pardot Strategy (7)
- Pardot Sync (2)
- Pardot Sync Errors (1)
- Pardot Tracker Domains (5)
- Pardot Training (3)
- Pardot Vs Other MAPs (4)
- Pardot Website Tracking (2)
- Reporting (22)
- Salesforce and Pardot (31)
- Marketing Data Sharing (2)
- Pardot Users (3)
- Salesforce Automation (5)
- Salesforce Flows (2)
- Salesforce Campaigns (20)
- Salesforce CRM (3)
- Record Types (1)
- Salesforce Engage (3)
- Salesforce Queues (2)
- Security and Privacy (1)
- Tags (3)
- The Authors (504)
- Cheshire Impact (9)
- Greenkey Digital (51)
- Invado Solutions (37)
- Jenna Molby (9)
- Marcloud Consulting (6)
- Nebula Consulting (60)
- Pardot Geeks (44)
- Salesforce Ben | The Drip (235)
- SalesLabX (3)
- Slalom (4)
- Unfettered Marketing (46)
- Uncategorized (1)
- Website Tracking (2)
- Website Search (1)
More Pardot Articles
See all posts
This Pardot article written by:Â Bill Fetter
Unfettered Marketing
A collection of random thoughts on how people, places and things in our fascinating world connect to sales and marketing, and what we can learn from it.
Original Pardot Article: https://www.unfetteredmarketing.com/post/how-do-you-keep-the-comments-field-in-pardot-from-becoming-an-awful-mess
Find more great Pardot articles at https://www.unfetteredmarketing.com/blog