Render file field type as normal
Created 6 years ago by pooria

Hi

I'm using this method to render the stream form in the frontend: {{ form('college', 'students')|raw }}

The form contains a file-field-type , so the buttons Upload and Select are shown. But I want to use the default file uploader of the browser for two reasons:

1- When I click on upload, the modal appears but it's not filled with uploader data (http://example.com/streams/file-field_type/upload/images)

2- I don't want the file be uploaded before the form is submitted.

pooria  —  6 years ago Best Answer

I didn't know that anomaly.field-type.upload exists!

https://pyrocms.com/documentation/upload-field-type/1.2/introduction/installation

when did you add it? 😄

ryanthompson  —  6 years ago

It's an oldie but a goodie 😛