Active
Project:
Contact
Version:
1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jun 2016 at 23:43 UTC
Updated:
24 Feb 2026 at 03:20 UTC
Jump to comment: Most recent
When creating a new form, it includes a subject and message field by default, as well as Name and Email which are required. These fields are not needed on all forms but the only way to remove them is to hide them from the form display.
Allow forms to be created without a subject and message field.
I think this will require removing the "autoreply" component from config as we can't assume there will be an email address.
In webform, you can configure an autoreply by sending an email to the value of an email field, if there is one.
Comments
Comment #2
larowlanComment #3
pameeela commentedComment #4
pameeela commentedComment #7
caldenjacobs commentedI agree that this is essential — as it is I'm patching core to remove the Subject and Message fields, which feels pretty ridiculous.
Comment #8
caldenjacobs commentedComment #12
ruuds commentedI also stumbled on this problem and have just created a tiny module which adds the name/mail/message fields to the 'Manage fields' page so you can change their labels and descriptions and alter the required-flag See https://www.drupal.org/project/contact_default_fields_override. Maybe someone will find this useful.
Comment #17
ecj commented@Ruuds: works like a charm, saved my day! Thanks.
contact_default_fields_override
Comment #23
quietone commentedThe Contact Module was approved for removal in #3476879: [Policy] Move Contact module to contrib.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3520460: [meta] Tasks to deprecate the Contact module and the removal work in #3520466: [meta] Tasks to remove Contact module.
Contact will be moved to a contributed project after the Drupal 12.x branch is open.
Comment #25
andypost