Creating a Letter to the Editor Form

Introduce a Private Way to Elicit Feedback from Readers

By CMN Staff

Published: Monday, June 15, 2009

Updated: Thursday, October 29, 2009

LTTE screenshot

Screenshot of code rendered without editting or styles.

Many newspaper websites like to create the option of a private forum for readers to contact newspaper staff for reader editorials, news tips or general feedback.  On the CP5 platform, the ability to create 'Letter to the Editor' form is possible by following the steps below.

However, the adherence to the steps is critical for success.  The form code responds to a specific script on our mail server to bounce web submissions to the desired destination.

Attached, you find code in a pdf.  This code will create a very general form that you can add descriptions to, but it is a standard set of variables that cannot be changed.  The form will follow your site’s styles and not need further markup for design.

Instructions for deployment:

  1. Paste the code in Fig. 1 into an HTML element anywhere on your site (preferably in the main content area because of width).
     
  2. The code will produce (without your CSS styles) something similar to the image to right. To change the copy, you must change the portions highlighted in yellow in the code on the next page.
     
  3. To select which email address or distribution list to which the web submissions are sent, change the text highlighted in green (youremail@example.com) to your specified address. The form contents will be emailed to the email address specified.
     
  4. This code directs the end‐user to a thank you page upon submission. In order to have this work properly, you must set up a “thank you” page on your site. Simply create a regular sub page called “thank_you” and remember to set it as “hide in navigation”.  Then copy the URL of the “thank you” page into the code where highlighted in pink.