A contact form with a dropdown
Forms came in 0.5.1. Messages are stored in the Inbox with a ticket number; an e-mail notice goes to you.
Steps
Add a block and switch its type to Form in the Block tab. It starts with name, e-mail, topic and message.
Open the Form tab › Edit fields…. Change labels, add fields, set dropdown choices (one per line), tick Required. Press Done.
Form settings…: form name (shown in the Inbox), button text, message after sending, consent text.
System › Inbox: set where notices go, a sender address on your own domain, and how long to keep messages. Press Send a test e-mail.
Open the page in a private window and send a test. Wait a few seconds before sending: very fast forms are treated as robots.
CSS
/* Two fields side by side on wide screens */
@media (min-width: 720px) {
.jc-form-block { grid-template-columns: 1fr 1fr; }
.jc-form-block .jc-field:has(textarea), .jc-form-block .jc-consent, .jc-form-block .jc-form-actions { grid-column: 1 / -1; }
}Prompt for your AI
In my JoodCMS kit, add a form block to the contact page as described in KIT-GUIDE.md (type "form"):
form name "Contact", fields name, e-mail, phone (not required), topic dropdown [options], message; consent text
"[text]"; leave "email" empty. Put a short intro in the cell above the form.