Can you share your template code? There is a type upload. see pic below
Demo form generates this
The upload button is on the form