Editor file upload hangs on create with no file specified

Editor file upload hangs on create with no file specified

ehardingeharding Posts: 15Questions: 7Answers: 0

I have a file upload working fine when a file is specified, but if the user presss create without specificing a file the form hangs, when closing to the editor the table get stick on loading. I tried using 'Validate::notEmpty' , for the file, but it has no affect. is there a way to ensure a file is specified to stop the user from uploading an empty form?

thanks

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    The Validate::notEmpty validator should be the way to do that. If the form is hanging it suggests that a Javascript error has occurred. Is there anything shown in your browser's console?

    Thanks,
    Allan

This discussion has been closed.