How to add file upload option to Magento2 contact form?Add custom field to contact form Magento 2?How can I...
Is there a logarithm base for which the logarithm becomes an identity function?
What is Tony Stark injecting into himself in Iron Man 3?
Do Paladin Auras of Differing Oaths Stack?
I can't die. Who am I?
How should I solve this integral with changing parameters?
I am the person who abides by rules, but breaks the rules. Who am I?
Is divide-by-zero a security vulnerability?
Sampling from Gaussian mixture models, when are the sampled data independent?
"If + would" conditional in present perfect tense
Giving a career talk in my old university, how prominently should I tell students my salary?
What can I do if someone tampers with my SSH public key?
PTIJ: Who was the sixth set of priestly clothes for?
Difference between `nmap local-IP-address` and `nmap localhost`
What is the purpose of a disclaimer like "this is not legal advice"?
What does the Digital Threat scope actually do?
Are these two graphs isomorphic? Why/Why not?
Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?
Boss Telling direct supervisor I snitched
What will happen if my luggage gets delayed?
Did Amazon pay $0 in taxes last year?
Converting from "matrix" data into "coordinate" data
Would those living in a "perfect society" not understand satire
How can I portion out frozen cookie dough?
Is "cogitate" used appropriately in "I cogitate that success relies on hard work"?
How to add file upload option to Magento2 contact form?
Add custom field to contact form Magento 2?How can I send email based on selection - Magento contactMagento contact form unable to submit your request errorMagento 1.9 Contact formHow to add subject and attachment field in contact form?Contact form file attachment not working in magento1.9Secondary contact formMagento 2 Image upload in contact pageMagento2 Contact Form Emails Not ReceivedMagento 2.2 Copy contact form template and create another versionAdd Captcha to magento 2 contact form on cms page
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.
magento2 file-upload contact-form
bumped to the homepage by Community♦ 57 secs ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
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.
magento2 file-upload contact-form
bumped to the homepage by Community♦ 57 secs ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
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.
magento2 file-upload 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.
magento2 file-upload contact-form
magento2 file-upload contact-form
asked Jun 26 '18 at 9:54
MounikaMounika
1435
1435
bumped to the homepage by Community♦ 57 secs ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 57 secs ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
upload
field in contact form and include it in contact email template.
This will help you to achieve
add a comment |
Follow this link :
Add custom field to contact form Magento 2?
Add field File upload : <field id="file" translate="label comment" type="file" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>File</label> <upload_dir config="config/path">pub/media/myupload</upload_dir> </field>
– shail
Jun 26 '18 at 10:09
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f231374%2fhow-to-add-file-upload-option-to-magento2-contact-form%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
upload
field in contact form and include it in contact email template.
This will help you to achieve
add a comment |
upload
field in contact form and include it in contact email template.
This will help you to achieve
add a comment |
upload
field in contact form and include it in contact email template.
This will help you to achieve
upload
field in contact form and include it in contact email template.
This will help you to achieve
answered Jun 26 '18 at 10:02
Aditya ShahAditya Shah
3,93421037
3,93421037
add a comment |
add a comment |
Follow this link :
Add custom field to contact form Magento 2?
Add field File upload : <field id="file" translate="label comment" type="file" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>File</label> <upload_dir config="config/path">pub/media/myupload</upload_dir> </field>
– shail
Jun 26 '18 at 10:09
add a comment |
Follow this link :
Add custom field to contact form Magento 2?
Add field File upload : <field id="file" translate="label comment" type="file" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>File</label> <upload_dir config="config/path">pub/media/myupload</upload_dir> </field>
– shail
Jun 26 '18 at 10:09
add a comment |
Follow this link :
Add custom field to contact form Magento 2?
Follow this link :
Add custom field to contact form Magento 2?
answered Jun 26 '18 at 10:06
shailshail
347215
347215
Add field File upload : <field id="file" translate="label comment" type="file" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>File</label> <upload_dir config="config/path">pub/media/myupload</upload_dir> </field>
– shail
Jun 26 '18 at 10:09
add a comment |
Add field File upload : <field id="file" translate="label comment" type="file" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>File</label> <upload_dir config="config/path">pub/media/myupload</upload_dir> </field>
– shail
Jun 26 '18 at 10:09
Add field File upload : <field id="file" translate="label comment" type="file" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>File</label> <upload_dir config="config/path">pub/media/myupload</upload_dir> </field>
– shail
Jun 26 '18 at 10:09
Add field File upload : <field id="file" translate="label comment" type="file" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>File</label> <upload_dir config="config/path">pub/media/myupload</upload_dir> </field>
– shail
Jun 26 '18 at 10:09
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f231374%2fhow-to-add-file-upload-option-to-magento2-contact-form%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown