hallo,
I did a form that uploads three files, saves in db and sends two emails.
email events are put on "on success" of the upload file event.
I tried to check min & max file dimension constraint. If I upload a file bigger than max dimension allowed, it goes on "fail", and that's ok.
If I try to upload files that are smaller than the minimum required size, i get the "fail" event, but the form keeps doing all the rest of the "success" event related to the upload size. So it sends email (with none of the smaller files), and saves in the database.
Does anyone discovered this?
using cf v4 on joomla 1.5.2x
I did a form that uploads three files, saves in db and sends two emails.
email events are put on "on success" of the upload file event.
I tried to check min & max file dimension constraint. If I upload a file bigger than max dimension allowed, it goes on "fail", and that's ok.
If I try to upload files that are smaller than the minimum required size, i get the "fail" event, but the form keeps doing all the rest of the "success" event related to the upload size. So it sends email (with none of the smaller files), and saves in the database.
Does anyone discovered this?
using cf v4 on joomla 1.5.2x
Hi gbarone ,
I just looked at the code and can't see any reason why the Max size check would work and the Min size check not work :-(
What settings do you have for the action?
Bob
PS I generally recommend that you don't use the OnSuccess events. It's cleaner just to put following actions in the main OnSubmit event after the Upload Files action. They are handled in order and the effect is the same.
I just looked at the code and can't see any reason why the Max size check would work and the Min size check not work :-(
What settings do you have for the action?
Bob
PS I generally recommend that you don't use the OnSuccess events. It's cleaner just to put following actions in the main OnSubmit event after the Upload Files action. They are handled in order and the effect is the same.
This topic is locked and no more replies can be posted.