Skip to content
Advertisement

Save files in forms after submit with php

JavaScript

This Form is to register Users with an Image. After submit I check if there Name is all ready taken and look for other errors if there is an error I want that everything is still in the Form except the password. It is working with the Username but not with a file (Image). So how can I do that?

Advertisement

Answer

It is by default impossible to set a default value for a file picker due to security reasons

Learn more about it here

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement