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.

Secure Conditional Logic

  1. I have a requirement to pass secure information in a receipt email based on user selections. I know I can show and hide fields with conditional logic but this is not secure as css is used to hide the data and it is still present in the source code. Is there a way to securely hide data using logic an have it appear only in the receipt email to the user?

    Thanks

    A

    Posted 11 years ago on Monday April 15, 2013 | Permalink
  2. David Peralty

    Can you please give me more information about what exactly you are trying to do?

    Posted 11 years ago on Monday April 15, 2013 | Permalink
  3. We would lie to supply download URI's to users based on their selections from a series of checkboxes. The Downloads are paid for. We'd like to add these URi's to the receipt email after the form is submitted rather than supply them manually in a follow up communication.

    Is there a better approach?

    Thanks

    Posted 11 years ago on Monday April 15, 2013 | Permalink
  4. David Peralty

    With our 1.7 Beta 2, you can have as many conditional notifications as you want. This would let you conditionally send messages based on user selections. This is probably going to be the only way you can do what you want "securely".

    Posted 11 years ago on Monday April 15, 2013 | Permalink
  5. That sounds interesting will give it a try. Thanks for your help.

    Posted 11 years ago on Tuesday April 16, 2013 | Permalink
  6. David this looks good and is working well. Now if only we could have conditional logic to generate the content in the notifications ;)

    Thanks for the help.

    Posted 11 years ago on Tuesday April 16, 2013 | Permalink
  7. David Peralty

    Look at the second half of this page: http://www.gravityhelp.com/documentation/page/Shortcodes Under a section called Conditional Shortcodes.

    Posted 11 years ago on Tuesday April 16, 2013 | Permalink