我有一个联系表单7,客户端坚持根据复选框选择转到不同的邮箱。
我可以这样做:
[checkbox* your-recipient class:checks label_first use_label_element exclusive "Sales | [email protected]" "Rent| [email protected]"]
这完全有效,但在邮件表格中,他们希望主题是关键,而不是价值?
Subject: Contact form enquiry - [your-recipient]
这将返回:
Subject: Contact form enquiry - [email protected]
Subject: Contact form enquiry - [email protected]
有没有办法让主题阅读:
Subject: Contact form enquiry - Sales
Subject: Contact form enquiry - Rent
非常感谢
要在管道之前获取值,请在您的案例中使用[raw {field name}]:
Subject: Contact form enquiry - [_raw_your-recipient]