Form sends when loading

ganzbreit 07 Jun, 2020
I have made a form with various fields in Joomla. When I load the form then send it an email with no content. If I then fill out the form and click on the send button, it sends the mail again, this time correctly with content. What can I do so that the form is not sent without content when it is loaded?
Thank for the Help.

Greetings

André
GreyHead 08 Jun, 2020
Hi André,

It sounds as though you have an email action in the form On Load event???

Bob
ganzbreit 08 Jun, 2020
Yes, I think so too, but where do I see that? I made the email option under Actions and a button in the form below. I do not understand why it is sent when the form is loaded. It should be sent when the send button is pressed. Where do I have to do the email option if not for actions? Form sends when loading image 1
GreyHead 09 Jun, 2020
Hi Andre,

The Email action would be on the Actions tab I think.

Bob
healyhatman 10 Jun, 2020
Because you put the email in the Actions tab of the LOAD event. So when you LOAD your form it does everything in the Action tab and then displays everything in the View tab. You need to put the email action in the Action tab of the SUBMIT event.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger