MILORD65
Member
Hello,
I have a form that contains elements corresponding to various fields including a viewlevel element that allows to see the recording to users in the specified level of access in this element viewlevel.
In this form, I also have an email plugin that allows to alert users for a new recording.
Problem: I want the email to be sent only to users corresponding to the access level selected in the viewlevel element, and thus that the recipients or groups depend on a viewlevel field.
I think it is possible with PHP but I do not know how.
Can anyone help me?
Thank you in advance.
Jean Pierre.
I have a form that contains elements corresponding to various fields including a viewlevel element that allows to see the recording to users in the specified level of access in this element viewlevel.
In this form, I also have an email plugin that allows to alert users for a new recording.
Problem: I want the email to be sent only to users corresponding to the access level selected in the viewlevel element, and thus that the recipients or groups depend on a viewlevel field.
I think it is possible with PHP but I do not know how.
Can anyone help me?
Thank you in advance.
Jean Pierre.