How do I implement... a contact form using the module?
  • Okay, I am using the CMS interface to create a test contact form. I've added fields, populated a few fields like e-mail receipt, a test subject and message and saved the form.

    However, how do I view the form? I assumed from the outset I would embed the form on an existing page - although the General tab suggests this is not the case so the 'slug' field contains the word 'contact'. So I go to http://localhost:3000/contact and I just get a 404 Page Not Found?
  • The slug value for the forms module doesn't directly relate to the page in which you view the form but the page in which it gets submitted to. To embed the form, you can use:
    <?=form('contact')?>

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!