Solved

How to set a maximum limit on a contact form file upload field?

Ritikaaaa
Shopify Partner
34 0 3

how to add file upload field in contact form with maximum limit setting??

Accepted Solution (1)
PageFly-Garcia
Shopify Partner
488 77 132

This is an accepted solution.

@Ritikaaaa 
I understand your concern. Indeed, Shopify's default contact form doesn't support file storage or direct retrieval. Even if you add custom code, the file attachment will only appear as text in your email notification, and it won't be clickable for direct access.

For a more optimized solution, I recommend using a third-party app specifically designed for file uploads and management.
You can refer to this post for more details. While it includes code examples, the most efficient approach would be to leverage a third-party app for this functionality. https://community.shopify.com/c/shopify-discussions/can-you-customize-a-contact-form-with-file-uploa...

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 4 (4)

PageFly-Garcia
Shopify Partner
488 77 132

Hi @Ritikaaaa 
If you want users to be able to upload files through a contact form on your Shopify store and have those files be downloadable later, you'll need to implement a more complex solution. Shopify's default contact form doesn't support file storage or retrieval directly. You will need to custom code backend development or easier approach is using 3rd party app. As far as I know the https://apps.shopify.com/form-builder-by-hulkapps can help you archive and seem like it has free plan. Hope it helps! 

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

Ritikaaaa
Shopify Partner
34 0 3

I want that uploaded file to recieve through email like other fields data

PageFly-Garcia
Shopify Partner
488 77 132

This is an accepted solution.

@Ritikaaaa 
I understand your concern. Indeed, Shopify's default contact form doesn't support file storage or direct retrieval. Even if you add custom code, the file attachment will only appear as text in your email notification, and it won't be clickable for direct access.

For a more optimized solution, I recommend using a third-party app specifically designed for file uploads and management.
You can refer to this post for more details. While it includes code examples, the most efficient approach would be to leverage a third-party app for this functionality. https://community.shopify.com/c/shopify-discussions/can-you-customize-a-contact-form-with-file-uploa...

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

Ritikaaaa
Shopify Partner
34 0 3

Okay Thanks!