The tag can refer to the contact form, a form that allows to contact other users, or specific site roles (e.g. the site maintainers); the Contact module, a Drupal core module that implement a contact form.

learn more… | top users | synonyms

0
votes
1answer
14 views

Change contact setting flood limit

I want to change the contact setting flood limit, but I don't find the correct place. How I change the flood limit for sent messages?
0
votes
2answers
27 views

Access submitted form data in custom callback before hook_mail_alter()

I wan't to alter contact form recipient according to what user chose in one of the dropdown fields of my Contact form. I implemented hook_form_FORM_ID_alter() in order to add custom submit callback ...
0
votes
1answer
38 views

Redirect contact form on submit

Using Drupal 8 and trying to get the contact form to redirect to the same page after submitting. By default it seem to redirect to the home page. I have edited my themename.theme file function ...
0
votes
0answers
32 views

How do I add a submission handler to the contact form?

I am trying to get a value from the query string and process it with contact form values to send in email. For example, I have a contact form with different fields. I want to load one node ...
0
votes
0answers
11 views

Token for default contactform subject

Is there a way to automatically fill in a subject in a personal contactform when clicking on a mail button in a view table. The privatemsg module can do that with tokens, that is exactly what I want, ...
0
votes
1answer
28 views

How to set or change path to Drupal 8 contact form?

Drupal 8 provides two default contact forms: "Personal contact form" and "Website feedback." While "Personal contact form" is added to each user's profile by default, to "Website feedback" Drupal ...
0
votes
2answers
65 views

Rendering contact_form

I have call my current contactform with this function in mytheme.theme. $form = Drupal::routeMatch()->getParameter('contact_form'); I have this object(Drupal\contact\Entity\ContactForm)#412 ...
0
votes
1answer
45 views

Contact form - Custom fields are not sending content

I've done a custom contact form with 2 more fields, but I can't get values of those 2 custom fields. I modified contact.module in core to see what are coming from form submit, found my custom fields ...
0
votes
2answers
33 views

Adding a contact form to a page in Drupal 8

I have created a contact form to be used for leads in certain content types, but I am unable to display the form within the content type, either through a block or entity reference. I have attempted ...
1
vote
1answer
51 views

Embed a Drupal 8 Contact Form

Is it possible to take a contact form and embed it into a page.html.twig or node.html.twig file? Or is the form only accessible via it's contact/machine_name link?
0
votes
1answer
36 views

Translating contact forms

Is there a way to fully translate the contact message forms in Drupal 8? In the content language screen, the contact message bundle is marked as translation is not supported. Edit: To clarify, I ...
0
votes
1answer
70 views

D8 render a contact form from theme preprocess

I want to render a form in a node view. I made an entity reference to a contact form, then in the preprocess_node I'm trying to get the render array of the contact form. function ...
0
votes
1answer
29 views

How to add tokens in an text-area in the contact module?

In contact module there is an text-area of auto reply in which I want to add tokens to it. Could anyone give solution for above issue.
3
votes
2answers
53 views

Recommended approach for setting up contact management?

I need to develop a contact form that the administrator can reply to and categorize each message (Responded, Transferred, Archived, etc.) received from users. Which would be the best approach for ...
0
votes
0answers
37 views

Contact Form not sending confirmation email

I'm stuck with this. Hope someone can help. I'm working in a Drupal 7 web, using the "Contact forms module". The emails are sent, but there are couple of weird things. If the user is admin, there is ...
1
vote
1answer
61 views

Contact form on maintenance mode page

I'm using Drupal 7 and I wanted users to be able to contact me via email whilst I'm still working on the website. So my plan was to use 'create a contact form', as I don't want to expose my email ...
1
vote
2answers
26 views

Contact form module for different users

I am looking for a contact form module for different users logged in to the website. E.g., 1) a website that has different authors 2) the user clicks on the author's page there is a contact form ...
1
vote
2answers
84 views

How to put conditional multiple recipients in drupal 7 default contact us form

I am working on a multilingual Drupal 7 site using a single contact us form. It has 4 languages. The contact us form is multilingual i.e labels of form fields changes, depending on the language you ...
2
votes
2answers
251 views

Anonymous users can't use personal contact forms

I'm using the core Contact module, with personal contact forms on profile pages. I set both the permissions "Visit user profile" and "Use users' personal contact pages" for anonymous users, but I ...
1
vote
0answers
59 views

drupal chat with trusted contact only drupal commons

I am integrating the Drupal chat with Drupal commons module . Now its working .but my actual need is to integrate this with only for trusted contacts is it possible . If yes means how I need to ...
1
vote
1answer
111 views

create contact form block with prepopulated entity references and send email to content author

I am trying to create 3 forms, 2 of them should be made into blocks to show on specific content types. One for anon users and another for logged in users. The other is just a site wide contact form ...
0
votes
1answer
36 views

Custom personal contact form with webforms

We want our users to be able to contact each other directly, but not give away the email address of the user account. Personal Contact forms do just this, however, we need a few more fields and ...
1
vote
1answer
416 views

Drupal 8 Theme a contact form

Hi i'd like to theme a contact form in Drupal 8. I'd like to put divs around form elements (using bootstrap). I also want to put some classes on certain elements (submit button, the form itself). ...
1
vote
1answer
52 views

How to set form action to default contact form action

I'm editing a Drupal site, it has a hardcodeded contact form which I would like to have the same behaviour than the default contact form (applying filters, inserting info in the database and sending ...
0
votes
0answers
24 views

Embed contact form in page

i'm running drupal 7.35, enabled the contact module, added a captcha to it, set permission for anonymous to have access to the contact form/module, almost perfect. Now i'm trying to add (integrate or ...
0
votes
1answer
72 views

Want to rename contact form fields name [duplicate]

I am using drupal 7 contact form in my site and I want to rename some field names, like "Subject" to "Emne" etc..
0
votes
1answer
42 views

Add Fields In Inbuild Contact Form In Drupal [closed]

i Have Put A Drupal Contact Form In Contact Us Page So I Want To Add A Contact No Field In Site Contact Form You Can See In Given Images kindly help it out
0
votes
1answer
29 views

Removing posted by admin date from a contact form

I am making a contact form in Drupal with using panels but in contact form it is showing posted by admin date. I want to remove these two things as shown in image.
0
votes
0answers
9 views

Drupal Contact Form Emails Going To Some Emails But Not To Email Containing Domain Name

I know this has been talked about in other submissions, but I have not actually seen a solution to this. I have my Drupal email contact form that sends to multiple email addresses. All of the ...
0
votes
1answer
19 views

Simple feedback contact form is shown only in administrator mode

Simple feedback contact form is shown only in administrator mode. How to set it up to make it visible on all pages of my Drupal 7 website? Thank you.
0
votes
0answers
76 views

Change the sender for the “yourself copy” in Contact form

When an user send a message via Contact form and selects the option "Send yourself a copy", he receives a mail with himself as sender and most likely it turns up in spam. Can I change the sender for ...
1
vote
1answer
290 views

How to send HTML/Rich text email from /contact

I want to allow other text formats on the /contact form than just plain text. I haven't been able to find a module that does this. Is it possible to do this in D7?
0
votes
0answers
90 views

Drupal view filter between two dates on published date

I have a problem with view and filter on published date. In the view i display all my contacts with their published date. It's the published date of the contact not a field date in entity contact. ...
0
votes
1answer
19 views

Personal Contact Form granular permissions

I want to be able to set specific permissions by role for the use of the Personal Contact Form. Searching drupal.org shows a few modules to work with Contact forms, but none do what I am looking to ...
0
votes
2answers
335 views

Show contact form in block only, not page?

I'm using the Contact and Contact Form Blocks modules to create a contact form and display it in a block. The problem is that the Contact module creates a page but I don't want a page, only the ...
3
votes
1answer
426 views

How to render a contact form in a theme

I am looking for a way to display the side-wide contact form in a block (through my .theme file). Using this code won't work (as contact_form is not a content entity?): // get default form // get the ...
0
votes
0answers
49 views

Flexi access : create a view of content allowed

I'm using Flexi Access in my project to allowed some users to see nodes with the ACL. But can we use Views with flexi access to create a view who regroup all nodes allowed to this user ? If we ...
3
votes
1answer
26 views

Changing the $from email in D6 contact_mail_user_submit()

// Send the e-mail in the requested user language. drupal_mail('contact', 'user_mail', $to, user_preferred_language($account), $values, $**from**); I wish to change the $from email to ...
0
votes
1answer
482 views

Send contact form results to google drive spreadsheet

Is it possible after form submission (Webform) that the data is immediately sent to spread-sheet in Google drive or some kind of similar application. Simple fields like : date, time, first name, last ...
0
votes
1answer
495 views

How can enable multiple contact form in drupal 8?

I want multiple contact forms(different fields) in my drupal 8 site Like Webform module drupal 7. I have tried to add multiple contact forms and i am able to number of contact forms with different ...
0
votes
1answer
192 views

how to make radio buttons be one under the other on drupal contact form [closed]

by default the radio buttons on my drupal contact form come out next to each other and the title is very far from the actual button. with CSS alone it doesnt work. I seem to need to be able to edit ...
2
votes
2answers
44 views

Do I need to use drupal_mail after the hook_form_contact_site_form_alter?

I have added on field in my site wide contact form through this code : function cstm_form_contact_site_form_alter(&$form, &$form_state, $form_id) { // Add a phone number field to the ...
-3
votes
1answer
56 views

site contact form not working [closed]

My hosted site's contact form is not working. I have checked all the obvious things like: correct site email address. permissions spam box It is working on the local development machine. I ...
0
votes
0answers
169 views

Webform entries goes to Gmail Spam folder

Any submissions from Webform goes to my emails (Gmail) Spam folder... I ask myself if I've configured something not right in the webform form settings... Please give me your valued opinion in the ...
0
votes
1answer
22 views

User profile layout vs. contact form option

On the user profile I have some 12 fields for the users to enter their contact information and other details about themselves. The option to activate/deactivate the personal contact form is somwhere ...
0
votes
1answer
137 views

How to add a checkbox for contact page in drupal?

I added a checkbox in my register form in drupal name "do you want a contact form?" If the user checked it then in profile page a menu for contact is shown but if it says no then in the same page ...
0
votes
0answers
204 views

Adding tokens to autoreply message of contact form in Drupal 7

I would like to switch on the core's contact form category function and ad some extra category to my contact form but I was wondering that in auto reply I can't use tokens or acess the field values ...
0
votes
2answers
301 views

theme contact form block

I am using contact_form_blocks-7.x-1.x-dev module. Using this module I have embedd contact us form in my website. For themeing I have created file named block--contact.tpl.php. Cleared cache. but it ...
0
votes
1answer
164 views

How can render a Block on a Contact form Page

I want to render a Block on a special content type page and on the contact form page. All works fine, but i didn`t found any way to print the Block also on the contact form page. i use in the ...
0
votes
2answers
399 views

How to hook contact form of drupal 7 for custom styling?

how can I alter my contact form for adding custom classes I am using contact form of Drupal 7 core module.