Selectable recipients with pipes not working correctly
-
Hi, on our internal WP intranet installation employees can report accidents. A notice of the accident should be emailed to the supervisor of the department at the location where it happened. It is solved with dynamic selction (conditional fields plugin ) and selectable recipients with pipes.
Example
Location A is selected and provides the following options:
[select* department-loc1 include_blank "dept1" "dept2" "dept3" "dept4" "dept5"]
I extended this selection with pipes to assign the supervisors:
[select* department-loc1 include_blank "dept1|[email protected]" "dept2|[email protected]" "dept3|[email protected]" "dept4|[email protected]" "dept5|[email protected]"]
Problem
Supervisor 1 is resposible for departments 1, 4, and 5. If someone reports an accident in department 4 or 5 it always creates an entry/data set containing department 1 as the place of the accident. Does anyone know how to fix this?The tag in the mail template looks like this:
[_raw_department-loc1], [_raw_department-loc2], [_raw_department-loc3]
–> it was necessary for the form validity to put _raw_ in front of the tag although the CF7 documentation says otherwise.
- The topic ‘Selectable recipients with pipes not working correctly’ is closed to new replies.