Email

kraadde 03 Jul, 2017
I set up a form with a send email action.
Now the form also includes a file entry field where users are allowed to attach a size limited foto file.
In the case the user try to attache a file exceeding the set limit, an error message appears, which is OK.
However, an email is nevertheless sent out.
I would like to prevent such emails to be sent. Is that possible and how to?
Max_admin 03 Jul, 2017
Hi kraadde,

Did you add an "event loader" action in the "fail" event of the "upload" action ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 03 Jul, 2017
Hi Kradde,

The minimum is to add an Event Loop action into the pink On Fail event of the File Upload action.

I would probably also clean up the event structure something like this:

Check Google NoCaptcha
+ On success: empty
+ On fail : Event Loop
Files Upload
+ On success: empty
+ On fail : Event Loop
DB Save
Email
Display Message
Debugger

Bob
This topic is locked and no more replies can be posted.