solspace/craft-express-forms

Render file type restriction in the input accept attribute

Closed this issue · 2 comments

Description

Hi, I couldn't find in the documentation, is there a way to do that?

Basically, I'd like to show this:

image

Like this:

<input type="file" id="cv" name="cv" accept=".doc,.docx,.pdf">

Thank you.

@thiagorossener Sorry for the delay. There currently isn't a way to do this with Express Forms. It's not something on our roadmap for now, but I've added it to the feature requests list though. :)

No worries @kjmartens, thanks for the response.