Forum

Thread tagged as: Question, Addons, Forms

Perch form attach file

Hi,

Is it possible to do something like this:

<perch:label for="file">Add file</perch:label> <perch:input type="file" id="upload" required="false" class="form-control" />

Simon Rothenborg

Simon Rothenborg 0 points

  • 5 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Hi Simon

I'm not sure what HTML you are trying to get to - what's the requirement?

Hi Rachel,

I want to let the user upload a file through the contact form.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, that should work. What result are you getting?

The forms goes through and I can see the other fields under Forms, but not the file.

Drew McLellan

Drew McLellan 2638 points
Perch Support

In the Form Options, what value have you set for File upload path?