Add some more operators to validate values
For now you only check if Sessionvalue equals Fieldvalue. This is OK...but when you use checkboxes in powermail you have to define them like this:
uid40|1 = Software, Manuals, Drivers
Now you have two problems:
1.) You worked with a comma trimExplode to devide each field, but what about, when a user has commas in his text like in my example?
2.) If a editor changes the text in powermail the admin has to change the text also in conditions.
Better is a solution like optionSplit:
uid40|1 || || != |*| uid41 || 2 |*| uid42 || 10 || >=
This example creates 3 field conditions with 3 settings:
[FIELDVALUE] || [SESSIONVALUE] || [OPERATOR]
If no operator is set, then use ==
1. example: If uid40 != ''
2. example: If uid40 == 2
3. example: If uid40 >= 10
I have added the new version for you
No data to display