We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Is it possible (yes I know anything is possible) with Formit to be able to send the information submitted on a form with the subject field determining which of two email address the content is sent to.

    What I’m trying to determine is if the subject matter is ’Courses’ then the details from the form go to [email protected], however, if the subject matter is ’Buildings’ the details from the form go to [email protected].

    Any one have the solution or a suggestion? I have looked at hooks as a possiblity, but nothing obvious jumps out at me.

    Yet another connudrum to deal with.... undecided
      Helen Warner
      Number one pixel!
      Proud to be linked with MODX at Crimson Pixel
    • Found the parameter

      &emailUseFieldForSubject=`1`

      which adds the subject matter of the form into the email subject - perfect.

      The call I’ve used is as follows:

      [[!FormIt? &hooks=`spam,email,redirect` &validate=`workemail:blank` &emailUseFieldForSubject=`1` &emailTpl=`emailResponse` &emailTo=`[email protected]` &emailCC=`[email protected]` &redirectTo=`19`]]
        Helen Warner
        Number one pixel!
        Proud to be linked with MODX at Crimson Pixel