EricFontysICT Posted May 23 Share Posted May 23 Hi all, It's possible to send an email to administrators based on conditions: Like the value of a field by specifying: "field=value? your@email.com". My question: I would like to send an email if the value doesn't equal but CONTAINS a word or number in that value. For example: field=%needle? your@email.com" (field contains 'needle'? your@email.com) Would that be possible with a joker or something? Many thanks! Link to comment Share on other sites More sharing options...
ngrmm Posted May 24 Share Posted May 24 I'm not sure if this works via the field in the backend, but you could handle it with a hook. https://processwire.com/api/ref/form-builder-processor/email-form/ 1 Link to comment Share on other sites More sharing options...
EricFontysICT Posted May 25 Author Share Posted May 25 Thanks for your tip, I'll give it a try! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now