Questions tagged [contact-form]

Covers questions related to Magento Contact Form.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

How to Add custom field in Post Action for custom Contacts Form

I want to create a custom form for Magento 1.9 frontpage. So, I have already added a form (same clone of the contact form) in the below file location, and form submits working fine. I am able to ...
0
votes
3answers
3k views

Magento contact form unable to submit your request error

Magento 1.9.2.3 contact form issue, its the default contact form in magento. I get error Unable to submit your request, please try again later, even all fields are filled, however this form is ...
0
votes
1answer
25 views

404 on custom contact module

I have created a basic module that extends the contact form, the issue is that when I try to view the form I get a 404, no errors just 404. What I want to achieve is a trade account form which looks ...
0
votes
3answers
1k views

Contact Form Does not send email - no errors or logs

am attempting to use the built-in Magento contact form. I have enabled the contact forum in the configuration as well as set all email addresses. I have login enabled. When I use the form it redirects ...
0
votes
2answers
58 views

Unable to send emails. Could not acquire lock for cron job: sales_send_order_invoice_emails

Unable to send any kind emails (order, invoice, tracking). I get confirmation that it was sent, but nothing received. Same with "Contact us" from frontend. cron.log: main.WARNING: Could not ...
0
votes
1answer
28 views

magento 2.3.3 not sending any mail

I just installed Magento 2.3.3 in the Cpanel using Installatron. I didn't add any product. I changed the email in store->configuration->Email Options->Send Emails To. but no email is coming ...
0
votes
1answer
91 views

Magento 2.3.5-p2 Emails not sending

When i submit Contact Us form on frontend i get: Unable to send mail: Unknown error and error in exception and debug logs: main.ERROR: DOMXPath::query(): Invalid expression in selector >> ....
0
votes
1answer
1k views

Getting error of “An error occurred while processing your form. Please try again later.” after submitting a form

I am Getting error of An error occurred while processing your form. Please try again later. after submitting a form. Here is my code app/code/Smartwave/Porto/Model/Post.php <?php /** * ...
0
votes
1answer
316 views

Can't add custom script (leaflet) to Contact page

I'm trying to add a map in Contact page. In order to do that,I did the following: In file: app/design/frontend/MyCompany/MyTheme/Magento_Contact/layout/contact_index_index.xml I added: <page ...
0
votes
1answer
806 views

Captcha won't show up when load contact form by Static Block

I am getting captcha at contact us page. But when same file is called in static block, contact us form works fine but captcha does not occur. Kindly suggest any solution.
1
vote
1answer
19 views

How to redirect (& show flash message) on CMS contact page when wrong captcha submitted

I have added a Contact form in a CMS Contact page. added Layout Update XML section added vendor/magento/module-contact/views/frontend/templates/contact.phtml vendor/magento/module-contact/controller/...
1
vote
0answers
15 views

Contact page disappear after save category

I have a online store in Magento 2.2.3 with i18n stores. In menu i create new Catalog Category with name: Contacts, Contactos and Contacts in order EN, PT and FR. I configure this category to redirect ...
1
vote
0answers
21 views

how to save contact form in magento2 database

i am very new to magento 2 and need to save in a database the details that users enter in the magento 2 contact form but I didn't make it, can someone help me?
1
vote
1answer
1k views

Magento Contact Form: Unable to submit your request. Please, try again later

When visitors to our website try to fill in our contact form on our contact page, they are sent to /contact/index, and receive the error Unable to submit your request. Please, try again later. At ...
0
votes
0answers
15 views

Send Magento 2 contact form contents to various Store Email Addresses by selecting a dropdown option

I've successfully added a 'departments' dropdown menu to my Magento 2 contact form using the instructions here However I would like to send the contents of the form to different email recipients ...
0
votes
2answers
27 views

Correct way to change core module code

I have one line of code in a core module (contact) in which I need to change. What is the correct way to make the change to change/overwrite this file?
1
vote
2answers
45 views

Override form.phtml to customize contact us form?

I am calling the contact form on my CMS page using this (as per this): {{block class="Magento\Contact\Block\ContactForm" name="contactForm" template="Magento_Contact::form.phtml"}} I duplicated: /...
0
votes
4answers
1k views

How to send an Email confirmation after contact us

When the client uses the contact form, how can I get a confirmation email to the user?
-1
votes
3answers
86 views

Add Subject to the Contact form Email Template in magento 2

I have customised the Email template of Contact Us email with adding some new fields into it. However, i want to know where is the option to add Default subject to the email. When my user submits ...
2
votes
1answer
110 views

How to submit contact us data to Magento 2 contact us form action using graphqL?

How to submit contact us form data to Magento default functionalities using graphQl. I know to want to pass the form data using Mutation and doesn't have a clear idea to achieve the target. Please ...
0
votes
2answers
55 views

Magento 2 : How to custom contact form

I want to custom my contact form like this: It must send data for user submitted via email How can I do that? Any help? Thank in advance.
0
votes
1answer
50 views

Magento 2 Contact From Create Attachment files and attachment data not received Emails

Contact us from I have created the Attachment file upload and showing the contact us from Please Check But In email Not received the attachment files but only received file name Please Check And ...
1
vote
1answer
306 views

Magento 2.3 - Change the Contact page success message

I want to change the Success Message in the Contact Page. After someone press the submit button the Success page is like this: How I can to change the Success Page to display a static block for ...
0
votes
0answers
11 views

data not updated from admin panel

I am using porto theme.I am changing address on contact info ,after save it shows data updated.But after seeing data not updated..it same as previous. I am changing from store > configuration > ...
1
vote
0answers
31 views

Magento 1.9 not sending contact form

My magento is not sending contact form for my e-mail, the other sales e-mails is working/sending normally, i checked the crons and system > Configuration > Store email adresses, checked Contacts too, ...
2
votes
1answer
196 views

Magento 2: create multiple contact form with different recipients

I need to create multiple contact forms, with different recipients. The contact forms I want to create, has to have the same fields, nothing fancy. I just need to create different simple contact ...
1
vote
1answer
31 views

Implementation of sending selected items along with feedback form

Tell me how to implement the functionality of such a sample. On a separate page there is a form with any fields 2 or more and a submit button. I will use this example to implement. https://magento....
4
votes
3answers
12k views

Magento 2 - State/Province dropdown and Country Dropdown in Contact form

I need to add these 2 dropdowns to the contact form. How would I pull in those values for each dropdown?
0
votes
0answers
53 views

M2 - Change Reply-To address for contact form

How can I change the Reply-To address for the contact form in Magento 2.3? By default it uses the emailaddress from the customer who fills in the form, but I need to change this.
4
votes
1answer
2k views

How to add file upload option to Magento2 contact form?

I want to give users option to upload a file in magento2 contact form and recieve it in the email as attachment. How to do that? Please guide.
0
votes
1answer
1k views

Magento 2 - Custom contact form not showing up

How would I create a secondary contact form in Magento 2.2? I'd like it to have the following fields: Name Phone Email Checkbox 1 Checkbox 2 Submit button I have tried following this thread which ...
0
votes
0answers
28 views

Magento2 Captcha not displayed when contact form is added to custom block

I have enabled captcha using configuration STORES > Configuration > CUSTOMERS > Customer Configuration > Captcha I am using one custom form which I used templates directly like below as ...
0
votes
1answer
59 views

How to write grapgQl mutation to create and integrate the contact us page functionality in magento 2.3.2?

As same as the question, i want to create the mutation for contact us page and send the email via magento default contact us module without writing the custom email function in my resolver. How can i ...
0
votes
2answers
109 views

How I can add a IP field in contact form email magento 2

How I can add a IP field in contact form email? I added this field {{var data.remoteAddress}} to the email template {{template config_path="design/email/header_template"}} <table class="...
2
votes
2answers
2k views

Magento 1.9 Contact form

I want to create a contact form where customers can contact me on different email to the one specified in the Magento back-end configuration. I have a form.phtml file in /http/app/design/frontend/...
1
vote
1answer
312 views

magento 2 contact us add multiple recipients

task: create form "contact us" send data from the form to 2 Email addresses I created form but magento 2 does not provide option in admin to add multiple emails separated by , I was looking for a ...
0
votes
1answer
52 views

Add custom field in contact form

I added some fields in the Magento contact form, but I have a problem with one field, which is a select type. I try to display the label of the option on the mail but now the value is display.... ...
0
votes
1answer
25 views

Reload captcha doesn't show on custom theme

I use this layout but now Reload captcha doesn't show up. Any idea? Layout: <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:...
0
votes
0answers
63 views

plugin for contact form magento2

im trying to make plugin for contact form to send email with the fields: first name last name phone comment email last name email phone comment Here my code <?php namespace Convert\...
0
votes
2answers
135 views

plugin for custom field for contact form magento2

I want to create plugin for contact form with two custom fields first-name and last-name to send email. anyone can help with this? Thanks in advance. in di.xml <config xsi:...
0
votes
0answers
23 views

Hideit input on other forms

I stumbled across hideit input on contact us form https://magento.stackexchange.com/a/107656/70343 Makes sense to catch bots filling out the form. Just wondering whether it's worth adding to other ...
0
votes
1answer
160 views

Contact form email template - Array

If I have a checkbox on the contact form how do I pull these values into the email template. My form looks like <li> <label for="telephone">Contact Method</label> <...
0
votes
1answer
185 views

Magento 2.3 : Error while submitting the contact form

When I try to submit the default contact us form, this is the error that I get. Warning: preg_replace(): Compilation failed: invalid range in character class at offset 39 in /home/hudsonpa/...
0
votes
2answers
150 views

Contact Form in Magento 2 Custom Module is Not Sending Email

I am currently trying to create a custom form in Magento 2.2.7. The purpose of this contact form is to provide our trade (wholesale) customers with a separate contact form to our retail customers (i.e....
0
votes
3answers
46 views

Magento 1: How to add captcha on a custom page

I found an app that adds a captcha to the contact page - it works well. But it doesn't add it to the other custom forms I've built. <layout version="0.1.0"> <contacts_index_index translate=...
1
vote
3answers
7k views

Input value must contain number higher than 5

In my contactform I want to display a inputfield, that may only contain a number, higher than 5. How can I achieve that? My current code is: <li> <div class="field"> ...
0
votes
1answer
112 views

Email Error On Website

I am getting this error on our website 5.7.1 : Sender address rejected: not owned by user Email Just to make you aware email 1 is different to email 2 Any advice on resolving this would be great.
0
votes
2answers
129 views

call contact form on phtml page

I called contact form in my .phmtl page using this code: <?php include ($block->getTemplateFile('Magento_Contact::form.phtml')) ?> The problem is when I click on submit, there's no success ...
4
votes
2answers
46 views

How to create a custom form?

I am trying to create a create a page in block but I'm trying to add a custom contact form. I can view it in frontend but it wouldn't work its not doing anything when I click submit. is there anyone ...
2
votes
2answers
943 views

How to add contact form on category page?

I have to add custom contact form on product listing page.For this i am adding in local.xml file. <catalog_category_default translate="label"> <reference name="root"> <...