Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Form with upload incorrect file show the messeage

form

Started by Daniel Dobiášovský 5 years ago · 0 replies · 661 views
5 years ago

I encountered an exception and found no solution anywhere.

Forms work in "process:" with "message:" and it works great, except when I upload a mismatched file to the drag and drop box, for example "filesize: 1" and I upload a 1.5 Mb file.

Yes, the form crosses the file and after running it I can read that the file is too large to upload, but if I do not delete the file from the field and send the form, it will be processed and even if it is not sent a message about successful submission.

So how do I solve the problem with the command upload field?
Something like "message_incorrect:"
Has anyone solved it?

Thank you for your time guys!

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 23 hours ago
2 40 16 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago