PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Have user indicate if they want a copy of the submitted form

  1. I think the topic title is clear. I want to have a user tick a checkbox to indicate if they want a copy of the form submission. In the admin of the notifications, I can switch user notifications on/off, but I want the the user to let me know if they want a copy or not.

    How can this be achieved?

    Posted 12 years ago on Monday August 29, 2011 | Permalink
  2. Hi mbootsman,

    Give this a try: http://pastie.org/2447962

    Be sure to update the form ID and field ID where specified. This snippet basically just checks if any value was submitted for your notification checkbox. If no value was submitted, it sets autoResponder email To property to empty which effectively disables the sending of the notification.

    With this snippet, you would leave the default user notification email active with the desired message. The snippet will handle disabling this if the checkbox is not selected.

    Posted 12 years ago on Monday August 29, 2011 | Permalink
  3. Excuse ignorance, where does that code snippet go please?

    I have the same request.

    Posted 11 years ago on Thursday August 2, 2012 | Permalink
  4. Hi Boldfish,

    This would go in your theme's functions.php file.

    Posted 11 years ago on Thursday August 2, 2012 | Permalink
  5. I thought it might, but wanted to be sure.

    Many thanks.

    Posted 11 years ago on Thursday August 2, 2012 | Permalink

This topic has been resolved and has been closed to new replies.