Hello,
I have a form with a file field, I have limited the size at 3 Mo, but when I try to upload a file larger than 3 Mo, I have an message error, it is normal, but the form is still send.
I don't know how to prevent the form from being sent in the case of files larger than 3 MB.
Best regards
Patrick
I have a form with a file field, I have limited the size at 3 Mo, but when I try to upload a file larger than 3 Mo, I have an message error, it is normal, but the form is still send.
I don't know how to prevent the form from being sent in the case of files larger than 3 MB.
Best regards
Patrick
Hi Patrick,
You can use a ReDirect or ShowStopper action in the On Fail event of the Upload Files action.
Bob
You can use a ReDirect or ShowStopper action in the On Fail event of the Upload Files action.
Bob
Hello,
Thank you for your quick answer,
With Stopper (I don't find ShowStopper but it is perhaps the same thing) it's work but I have only the display of the error message and the form is not displaying.
So, I try with Event Loader on fail event like for security image, and it's better for me, I have the error message and the form is displaying.
Is it a good idea ?
Regards
Patrick
Thank you for your quick answer,
With Stopper (I don't find ShowStopper but it is perhaps the same thing) it's work but I have only the display of the error message and the form is not displaying.
So, I try with Event Loader on fail event like for security image, and it's better for me, I have the error message and the form is displaying.
Is it a good idea ?
Regards
Patrick
"Stop" action means what it says - it STOPS. You want an EVENT LOAD, like you said.
The form should show an error when the file size exceeds the limit, what is your file size and what did you use in the file field settings ?
This topic is locked and no more replies can be posted.