Alchemy cms

Get in touch

Contact us

This form uses Alchemy's built-in Messages feature. In the demo it validates and confirms without sending real email.

config/alchemy/elements.yml
- name: concept_intro
  hint: true
  ingredients:
    - role: eyebrow
      type: Text
      hint: true
      default: :concept_intro_eyebrow
    - role: headline
      type: Headline
      as_element_title: true
      hint: true
      default: :concept_intro_headline
      settings:
        levels: [1, 2]
        sizes: [1, 2]
        anchor: from_value
    - role: lead
      type: Richtext
      hint: true
      default: :concept_intro_lead
      settings:
        tinymce:
          toolbar: "bold italic | alchemy_link unlink"
        sanitizer:
          tags: [p, br, strong, em, a]
          attributes: [href, target, rel, title]

config/alchemy/elements.yml
- name: contactform
  unique: true
  hint: true
  ingredients:
    - role: subject
      type: Text
      hint: true
      default: :contactform_subject
    - role: mail_to
      type: Text
      hint: true
    - role: success_page
      type: Page
      hint: true