Welcome! Version 7.0

Tutorials / FAQs / Documentation

Make sure your connection is secure ("httpS:" instead of just "http:"). Click the logo above for a secure connection.

| Menu ☰ |
× close
Home Products Services Blog Contact

CMSbyCW Demo Back to CMSbyCW Home

How to use the Sample Contact Form

How to use the Sample Contact Form

Published on: 01/20/2026, 01:43 PM by Software Developer

Developer Notes:  The Instructions Below are for Customers.  The Sample Contact Form codes "Page" can be found in "Manage Pages" inside your "Dashboard".  I decided to include it with the CMSbyCW Package.  I ALSO put this in a blog post here (so it is searchable), because I also added a "Help" link on every Dashboard of the package, so this Blog can be used as a resource (for "tutorials" and "how to" articles as well).   

Here's a Sample Contact Form that you can use. Submissions go directly to the email address that you specify on the contact-submit.php file

1) Change the email address to your email address that is in the contact-submit.php file.  The code block to edit in that file is: 

mail(
    'YOUR_EMAILADDRESS@dot.com',
    "Contact Form: $subject",
    $body,
    "From: $name <$email>"
);

2) Open this "Sample Contact Form " web Page from the:

2.1) Dashboard >

2.2) Manage Pages >

2.3) Find the Title: "03-Sample Contact Form"  

2.4) Under "Actions" select "Edit"

5) On the Content Editor, switch to "Source" code,

6) Then copy the entire code below the line by highlighting the code block, (then press "Control + C" to copy it to the clipboard)

7) Add a New Page, or Open your "Contact" Page, and then paste the code you copied (press Control = V to paste what's in your clipboard). 

8) Go ahead and test this Contact Form and check your email. 

Tips: 

-------------------------














0 / 1000 characters




Got feedback?

Click HERE and Leave a comment

Share:




Thank you for visiting our website!