All Questions
Tagged with contact-form contact-us
51 questions
0
votes
1
answer
54
views
Contact Form Magento2: move success message to form
How to move success (not error) message into contact form?
1
vote
1
answer
280
views
Unable To Add Contact Form To CMS Page In Magento 2?
I added below info but contact form not showing
app/design/frontend/company/name_theme/Magento_Contact/templates/form.phtml
Then, insert the contact form to the CMS page
{{block type=’core/template’ ...
0
votes
1
answer
44
views
How to attach file in contact us mail
I have a contact form with a field to attach the file but I don't the way how to attach that uploaded file to the email template of contact us mail in Magento
0
votes
1
answer
166
views
"Invalid Form Key. Please refresh the page." error on Contact us page
The error "Invalid Form Key. Please refresh the page." appears when submitting the contact form.
I just don't know how to handle this. :( In my opinion, this must not even be supposed to ...
0
votes
0
answers
295
views
Magento 2 Contact Form does not send email, but all transactional emails work
In Magento 2.3.5-p1 build we're having issues with the contact form sending emails.
On the client/user side, everything appears to work fine. The form submits without issue and then displays the ...
0
votes
1
answer
594
views
How can I attach files to a Contact Us form?
I am trying to create a contact us form with the following fields and file attachments on Magento 2.3.2:
<?php
// @codingStandardsIgnoreFile
?>
<?php
$themeHelper = $this->helper('...
2
votes
2
answers
3k
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
1
answer
344
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 >> ....
1
vote
0
answers
22
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 ...
0
votes
2
answers
159
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
1
answer
2k
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 ...
1
vote
0
answers
107
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,
...
0
votes
1
answer
198
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 ...
1
vote
1
answer
2k
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 ...
2
votes
1
answer
1k
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
1
answer
540
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.
4
votes
2
answers
195
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 ...
0
votes
1
answer
648
views
Disable contact form submit onclick
I want to disable the submit button of the contact form onclick, so that the button can be only clicked once. The only problem with this, is that it does not validate the form anymore. It directly ...
0
votes
1
answer
398
views
Magento contact form submit button allow click ones
Is it possible to change the behavior of the submit button on the contact form, so that it will only allow to click one time?
Now when you fill in the form and click multiple times on the submit ...
0
votes
1
answer
422
views
Magento 1.9 contact form validate required not working
For some reason our select dropdown is not required and does not validate the entry. It already contains the class 'required-entry' for the select.
What am I missing here?
<form action="<?php ...
1
vote
2
answers
2k
views
Magento 2.2.6 Change 'From' field of magento contact form email to the sender
Currently, when customer submit a contact form through our website, the "sent from" email address we received is our [email protected]. I would like to change the "send from" email address to be the ...
1
vote
1
answer
2k
views
Add new custom field in magento 2 contact form
Could you please help to add a new custom field in Magento 2 contact form.
1
vote
0
answers
87
views
Magento 2.2. with Varnish, Contact form not working
I am trying to test the contact form, but varnish is giving me 503 errors every time I am trying to submit the form. However, I don't think varnish is the issue here.
I am calling the form using the ...
0
votes
1
answer
42
views
How to add a Contact Form to sent to email address
How to add a contact form to our contact page but finding it difficult to do so.
I can add the form via html and styling etc but getting it to send to an email address is where I'm having problems.
0
votes
2
answers
2k
views
How can i programatically send contact us mail in magento 2?
i have tried using the below code but didn't get the solution.
public function contactUs()
{
//$params = $this->getRequest()->getParams();
//$mail = new Zend_Mail();
$this->...
0
votes
2
answers
385
views
How can I use different emails on contact us page?
We have a contact us page, and we have the fields: Name, Email, Telephone, Reason, and Message.
We have different people who deal with different things, so we were thinking the reason could be the ...
1
vote
1
answer
68
views
Contact Us Page [closed]
Currently our contact page doesn't work.
We installed MailChimp in hopes that it work link, but apparently that's only for the order confirmations etc
I tried it as it is, but unfortunately it doesn'...
0
votes
1
answer
694
views
Magento contacts forms with multiple transactional emails templates
I want to have more contacts forms in my store and separate transactional emails templates for each contact form in part, for example:
contact_form1.phtml with contact_form1.html email template;
...
1
vote
2
answers
1k
views
Multiple contact form
I create few contacts forms in Magento for example I have Contact1.phtml / Contact2.phtml / Contact3.phtml is there any way to setup transnational email for each contact form?
Right now I use only ...
0
votes
1
answer
638
views
2 contact us forms with different email configuration
I want to copy magento "contact us" form, however, set a different configuration to it.
Now, "contact us" form sends information to [email protected].
I want "contact us 2" to be exactly the same ...
0
votes
1
answer
716
views
Get firstname and lastname contact page Magento 1.9
I want to get the first and last name in a custom contact form in Magento 1.9.x
in my custom_contact.phtml file I have this:
<?php
if (Mage::getSingleton('customer/session')->isLoggedIn()) {
...
0
votes
1
answer
923
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.
0
votes
1
answer
110
views
Does Magento store copies of the Email messages sent through the CONTACT US page? Is it possible to retrieve them?
I made a big mistake by not changing the "Send Emails To" Email address in:
SYSTEM - CONFIGURATION - GENERAL - CONTACTS - Email Options
The Email address in there was "[email protected]" this ...
0
votes
1
answer
677
views
Add a "Contact us" form on each product
I would like to add a "Contact us" form on each product; I've copied the contact form and added to the cms static block:
{{block type="core/template" form_action="/contacts/index/post/" template="...
0
votes
1
answer
1k
views
Redirect contact page to the same page and add message too
I use magento 1.9.x version, I add a new contact form in product view page, but after I press Submit button the magento is redirect me to the Contact page how I can stop this redirect and remain in ...
1
vote
1
answer
2k
views
Contact Us form not working
I am using Magento 1.9. I had configure the mail setting and my newsletter mail also working properly.
But when I tried "About Us" it show me the below error message
Unable to submit your request. ...
1
vote
0
answers
686
views
How to stop Magento 2 Escaping HTML in Contact form
I'm hoping someone can help me figure out how to prevent Magento 2 from escaping special chars in the contact form!
At the moment, when a message is sent via the standard contact form in Magento 2, ...
0
votes
2
answers
173
views
Adding new model to Contacts module breaks contacts configuration
Recently I tried to extend the contact form on our website. I wanted to add a drop-down with some possible subjects the user could select. To do this I created a new module MyCompany/Contacts in the ...
3
votes
1
answer
1k
views
add a select dropdown on Contact Page
I'm looking for a way to be able to add a Dropdown (select) to the Contact Page and use it as a Subject later on in the email.
I've tried simply adding a dropdown but it doesn't seem to be working:
...
3
votes
4
answers
2k
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 form in the configuration as well as set all email addresses. I have login enabled. When I use the form it redirects ...
0
votes
1
answer
551
views
Customized contact us page for logged in user
I wish to add a contact us page customized for the logged in user in magento2 website. It should be like it's activated when a person is logged in and it should not ask for name or email , it should ...
1
vote
3
answers
9k
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
2
answers
813
views
Contact Us page has disappeared Magento 1.9.0.1
We used the default contact form and now the page has reverted to the "404 error page" I've tried to find the CMS page to edit this if it had become disabled, but it seems like it's not even listed ...
0
votes
1
answer
468
views
Add content to second column on "Contact Us" page
I've been editing the standard magento contact us page. Mine is using the 2-column-left.phtml template being called through the contacts.xml. On my contact page the standard form is being populated ...
1
vote
3
answers
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 ...
1
vote
1
answer
291
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>
<...
1
vote
2
answers
261
views
Send visitor to a CMS page after the Contact Form
In Magento 1.9, after a visitor submits the contact form they get sent back to the contact form page.
How can I send them to a CMS page instead?
(I did try googling this, but the only results I got ...
1
vote
1
answer
104
views
Get company name input box contact form
I want to display the company name by default inside the contact form.
Just like the customer name and emailaddress.
I tried this, but that does not work.
<?php echo $this->escapeHtml($this-&...
0
votes
0
answers
542
views
Redirect custom contract forms to the original form page
I have a custom contact-us form that is a CMS pages.
After submitting the contact form I want to redirect back to the CMS page with the custom contact form.
I need to edit the controller (app/code/...
0
votes
1
answer
85
views
Magento Enterprise 1.14.0.1 custom contact form variables no displaying in contact template
This is a bit similar to another post but different if that makes sense.
We have a custom phtml page contact form. Our issue is when it sends email we are only getting one of the variables to be ...