Since file inputs are not allowd to be pre-populated, how do i tell craft that a required asset field is already filled in the front end edit form? Can’t seem to figure this one out.
Edit: Users can create entries from the front end. Those entries have at least one required field which is an asset (image). Creating an entry works fine. However, when editing an entry the user should be able to change the asset as well so we give them the file input too when editing the entry. If they choose to leave that alone the entry couldn’t get saved since the file input stays empty but is still required.
hidden
first and only changing its type attribute tofile
(using jquery) once the cover get’s deleted, ajax-style. Makes sense? – Marcus Scheller Oct 22 '14 at 21:39