Forums

Mailer error when i use a from within a Modal Window

galbur 17 Apr, 2019
Hi

Another strange behaviour (since a couple of days):
When i open the form in a modal Window, everything works. But after submitting i got the Thank you message with the Mailer Errror

Mailer Error: You must provide at least one recipient email address.

Ther is no such Mailer Error when i use the form without a Modal Window.

Thank you
Christoph
healyhatman 17 Apr, 2019
Make sure the email field is within the form element in the modal
galbur 17 Apr, 2019
Hi

Thanks for Helping. The whole form is embedded in the modal.
So no e-mail field is otuside the form.
GreyHead 24 Apr, 2019
Hi Christoph,

You can try using the Debugger to see if that helps understand why the Email value is not being saved.

Bob
galbur 30 Apr, 2019
Hi Bob

Thank you very much.
There is not so much information with the debugger. When i use the Form in the Modalwindow, after subimt im landing on the Form again. Now outside the Modalwindow.
When i try to use this Form, i have the same Problem.
But when i load the same form with the chronoforms menulink (or the previewmode), everything works as expected.

But with Joomla error reporting Maximum i get this error:

Notice: Undefined index: mail in
/website.com/administrator/components/com_chronoforms5/chronoforms/actions/email/email.php
on line 246
Data Array

Array
(
    [ml] => 1
    [lehrmittel_bestellformular] => 
)
Array
(
)

Errors
Array
(
)

Debug Info
Array
(
)


All the best
Christoph
This topic is locked and no more replies can be posted.