How to add file upload option to Magento2 contact form?Add custom field to contact form Magento 2?Attach a file on contact formHow can I send email based on selection - Magento contactContact form email template - ArrayMagento contact form unable to submit your request errorMagento 1.9 Contact formSecondary contact formMagento2 Contact Form Emails Not ReceivedAdd Captcha to magento 2 contact form on cms pageMagento 2.2.6 Change 'From' field of magento contact form email to the senderEmail template for contact form in magento2.2.5?
Why does RPM for a fixed-pitch propeller change with an aircraft's pitch?
Where to place an artificial gland in the human body?
Can two figures have the same area, perimeter, and same number of segments have different shape?
What's the difference between 2a and 10a charging options?
The Sword in the Stone
What is AM-CM inequality?
"I you already know": is this proper English?
Does the Intel 8086 CPU have user mode and kernel mode?
What is "I bet" in German?
Piece-drop Mate #2
How do I address my Catering staff subordinate seen eating from a chafing dish before the customers?
Is my employer paying me fairly? Going from 1099 to W2
Decreasing star size
TSA asking to see cell phone
Examples of simultaneous independent breakthroughs
Suggestions for protecting jeans from saddle clamp bolt
Why isn't there a serious attempt at creating a third mass-appeal party in the US?
What does "see" in "the Holy See" mean?
How much were the LMs maneuvered to their landing points?
Terence Tao–type books in other fields?
Why are so many countries still in the Commonwealth?
Piece-drop Mate #3
Why is it considered Acid Rain with pH <5.6
High income, sudden windfall
How to add file upload option to Magento2 contact form?
Add custom field to contact form Magento 2?Attach a file on contact formHow can I send email based on selection - Magento contactContact form email template - ArrayMagento contact form unable to submit your request errorMagento 1.9 Contact formSecondary contact formMagento2 Contact Form Emails Not ReceivedAdd Captcha to magento 2 contact form on cms pageMagento 2.2.6 Change 'From' field of magento contact form email to the senderEmail template for contact form in magento2.2.5?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
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
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
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 bronze badges
1435 bronze badges
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
5,1572 gold badges12 silver badges45 bronze badges
5,1572 gold badges12 silver badges45 bronze badges
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
3222 silver badges17 bronze badges
3222 silver badges17 bronze badges
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