Step 1/2
project details

Tell us about
the project

Tell us everything! Share your thoughts, ideas, and any specifics about your project. The more details, the better.

Dropdown
Contact Details

How can we reach you?

Final step! Fill out your contact info, and we’ll be in touch to discuss your project soon.

Leave blank if you don’t have one yet
Thank you for contacting us!

We will be in touch within 48 working hours

Keep your eyes peeled for an email from one of our founders.

Okay, got it!
Oops! Something went wrong while submitting the form.

Add mobile camera access to your Webflow forms

Enable mobile users to access their device camera directly from file upload fields in Webflow forms.

Javascript

Copy Code

<!-- Use file upload to access camera -->
<script>
document.addEventListener('DOMContentLoaded', function() {
  const fileInput = document.querySelector('#file');

  if (fileInput) {
    fileInput.setAttribute('capture', 'environment');
    fileInput.setAttribute('accept', 'image/*');
  }
});
</script>

How to set it up:

  • Add a file upload field to your Webflow form with the ID 'file'
  • Paste this code in your page's custom code section (before </body> tag)
  • Update the querySelector to match your file input's ID (if different)

How it works:

  • The 'capture' attribute tells mobile browsers to access the camera directly
  • Setting it to 'environment' uses the rear camera (use 'user' for front camera)
  • The 'accept' attribute ensures only image files are accepted
  • On mobile devices, tapping the file input will prompt camera access instead of file browser

Let’s Build Something Great Together

A rebrand. A new website. A custom app. A better way to show up online. Whatever's next, let's make sure your digital presence is ready for it.