function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kevin ClemonsKevin Clemons 

Looking to have messages appended into a long text area field.

Right now, messages are overwritten each time a new Contact Us form is submitted on our website. I would like to have a list view of previous messages in the same area and the SF Help Desk sent me to this forum. 
Dev_AryaDev_Arya
Hi Kevin,

On your website/community this Contact Us form, is it a custom form? You mentioned overwriting happens each time a new 'contact us' record is created, but then it should not over-write the data as it is a new entry.
Or if the same contact is trying to refill the contact form, the controller perhaps is searching the lead table using email/phone number and updating the existing record. If this is the case, you cannot see all the previous values; but you can change the controller function to either append the text in long text or save data in another field.

Hope this helps.

Cheers, Dev
Kevin ClemonsKevin Clemons
Hi Dev, Our Contact Us form is a Pardot Web to Lead form. If the email address is the same when the customer enters their message, Pardot will identify this as the same person and update/overwrite the details for the Salesforce record that has the same email address. This would be ok for all fields except the Message field. The preferred method would be to append the text in long text, but I don’t know how to set that up and the help desk wasn’t able to get it figured out either. Thank you, Kevin Clemons Inside Sales Manager T +1 224-661-8626 M +1 224-763-7703 [cid:image001.png@01D45BBD.E8499530] 155 Harlem Avenue, Glenview, IL 60025 USA magnaflux.com [Email-Banner-675-200px3] [cid:image003.png@01D45BBD.E8499530] [cid:image004.png@01D45BBD.E8499530] [cid:image005.png@01D45BBD.E8499530] [cid:image006.png@01D45BBD.E8499530] [cid:image007.png@01D45BBD.E8499530]
Kevin ClemonsKevin Clemons
Hello,

How do I change the controller function to append the message?
Kevin ClemonsKevin Clemons
Hello, How do I go about appending the message in a long text field? Thank you, Kevin Clemons Inside Sales Manager T +1 224-661-8626 M +1 224-763-7703 [cid:image001.png@01D469E1.3B5C74A0] 155 Harlem Avenue, Glenview, IL 60025 USA magnaflux.com [Email-Banner-675-200px3] [cid:image009.png@01D469E1.3B5C74A0] [cid:image010.png@01D469E1.3B5C74A0] [cid:image011.png@01D469E1.3B5C74A0] [cid:image012.png@01D469E1.3B5C74A0] [cid:image013.png@01D469E1.3B5C74A0] From: Clemons, Kevin Sent: Thursday, October 04, 2018 8:41 AM To: reply Subject: RE: (Salesforce Developers): New reply to your question. Hi Dev, Our Contact Us form is a Pardot Web to Lead form. If the email address is the same when the customer enters their message, Pardot will identify this as the same person and update/overwrite the details for the Salesforce record that has the same email address. This would be ok for all fields except the Message field. The preferred method would be to append the text in long text, but I don’t know how to set that up and the help desk wasn’t able to get it figured out either. Thank you, Kevin Clemons Inside Sales Manager T +1 224-661-8626 M +1 224-763-7703 [cid:image001.png@01D469E1.3B5C74A0] 155 Harlem Avenue, Glenview, IL 60025 USA magnaflux.com [Email-Banner-675-200px3] [cid:image009.png@01D469E1.3B5C74A0] [cid:image010.png@01D469E1.3B5C74A0] [cid:image011.png@01D469E1.3B5C74A0] [cid:image012.png@01D469E1.3B5C74A0] [cid:image013.png@01D469E1.3B5C74A0]