9 years ago
6
Topic

Hi,

I configured a simple newsletter inscription form, with a.o. an email field. In the email configuration, in the "To" field, I entered 2 adresses of mine. "To (fields)" remains empty.

I don't know why, but the email is sent systematically to my 2 adresses, and to the email entered by the user !

This is not the behaviour I expect : what I expect is that the user doesn't receive the email.


Do you have an idea why the email is sent to the email address entered by the user ?


Jeremie

Get a VIP membership
154 Posts
WebOne
9 years ago
5
Level 1

Hi,

Check if it is setup like this :

text field - Name

text field - Email

Hidden field - Email field  [no storage]

9 years ago
4
Level 2

It is configured this way : 

text field : name

email field : email

(no hidden field)

Do you mean I should place a hidden email field to trigger the email ?

154 Posts
WebOne
9 years ago
3
Level 3

Yes rather set the email field as a hidden field or preferably in position HIDDEN

9 years ago
2
Level 4

YES !

Thank you for your help, it works fine now ;-)

By the way, I have another question : I want to display a message on the screen to confirm the form has been sent. I customized the message in the "configuration" tab of my form. Is there a position in the template where it is supposed to appear ? 

My template is minimal, with only modules and no place for the component, nor system/debug messages. So I could be missing something...

154 Posts
WebOne
9 years ago
1
Level 5

The messages will be displayed in the system/debug message area so I would advise adding that in your template. 

9 years ago
0
Level 6

Nice !

I just added this to my template, and I see the message :

<jdoc:include type="message" />
Get a VIP membership