Skip Navigation

[Escalado a 2º nivel] User form notification is being sent due to other custom fields

This support ticket is created hace 5 años. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Waqar hace 5 años.

Asistido por: Waqar.

Autor
Mensajes
#1364743

I am trying to:

I believe I found a bug. I have a User Form where the User can change his/her password or email with a notification for the User and Admin, which works fine.

The issue is when I change other User custom fields, the notification is sent. I explain in this video: enlace oculto

To summarize, custom fields that are not even in the User Form is triggering the email notification.

#1365459

Hi Felipe,

Thank you for contacting us and I'd be happy to assist.

I was able to reproduce this strange behavior of conditions involving the special fields like "Password", on my test website, whereas the conditions with the custom user fields, work as expected.

I've passed on these findings to the concerned team, for further review and will update you once I'll hear back.

Thank you for your report.

regards,
Waqar

#1365791

Waqar,

So we are clear, it does not matter if the settings is set for when user submits the form as is, or if only by email or password. Whenever there is a chance in any custom user field, the notification is sent.

I have disable the notification meanwhile.

#1365973

Hi Felipe,

Thanks for writing back and as per our initial investigation the real issue here is that the "When custom fields are modified" option in the notification is designed to work with only the user custom fields and the other fields like password, username, email etc, (which are not technically user custom fields) shouldn't be available in the select field for “Additional field conditions”.

That is why when any field other than the user custom field is used in the notification's condition, it becomes true or false, unexpectedly and the notification is sent.

> Whenever there is a chance in any custom user field, the notification is sent.
- When the option "When custom fields are modified" is selected in the notification it will trigger the notification whenever a custom user field is modified from user edit screen in the admin area, which is what this option is expected to do. This notification can be narrowed down to be linked to a specific user custom field, using the “Additional field conditions” option and you're welcome to try your notification with a condition that involves a user custom field only.

Hope this makes it more clear and I'll keep you updated.

regards,
Waqar