Forum

Thread tagged as: Question, Problem, Forms

Contact form message not appearing

Hi,

It seems that my contact-form.html, which contains some perch:content tags for an introduction and thank you message is not displaying these template parts. They do not appear in the Perch back end for that page.

Any tips?

Code in the template:

<perch:content id="forum-introduction" type="textarea" label="Intro" textile="true" editor="markitup" size="m" />
Adam Menczykowski

Adam Menczykowski 1 points

  • 7 years ago

I am calling the form in my page by using:

<?php perch_form('contact-form.html'); ?>
Drew McLellan

Drew McLellan 2638 points
Perch Support

Forms app included in apps.php ?

Yep

<?php
    $apps_list = array(
        'content', 
        'perch_gallery',
        'perch_blog',
        'perch_forms'
    );
Drew McLellan

Drew McLellan 2638 points
Perch Support

Ah, you're using <perch:content /> tags but not using the Content app to display the region.

Change it to:

<?php perch_content('Form'); ?>

for example.

Thanks, that was it!