2 Replies Latest reply on Mar 12, 2012 10:01 AM by timwhisenant

    Scripts??

    ybbtv

      When clicking my "Submit" button, how would I be able to make it then send a confirmation email to an address that was inserted in a previous field?

        • 1. Re: Scripts??
          MattLeach

          Using the Send Mail script step will allow you to specify a field that contains the email address you want to send to.

           

          You can do something along the lines of:

           

          If [Get ( LastMessageChoice ) = 1]    //1 being the submit button

              Send Mail [parameters]

          Else

               Exit Script  //or whatever else you would like script to do if submit is not clicked

          End If

          • 2. Re: Scripts??
            timwhisenant

            However, prior to the send mail script step, you may need to add a commit record step to be sure the previous field is stored.

             

             

             

            HTH,

             

            Tim

            1 of 1 people found this helpful