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.

customizing user notification

  1. tomglass
    Member

    I would like to customize the user notification message depending on users choice.
    Is there a way to use the form fields with something like an "if" syntax.

    {if {request price:4.1} use text ........}
    {if {invited to next private view:4.2} use text .......} :)

    or should I try to generate the message with js inside the notifications message field depending on the values of the checkboxes... ?

    thx Tom

    Posted 13 years ago on Thursday January 20, 2011 | Permalink
  2. Notifications don't currently have any conditional logic functionality so you would have to roll your own custom PHP to handle that. I don't believe javascript is going to work in the notification content.

    There are a few different discussions on the forums here about this. A quick search will turn up several - some with some snippets and examples like this one.

    http://forum.gravityhelp.com/topic/notification-response-that-is-specific-to-user-choice-in-form

    Posted 13 years ago on Thursday January 20, 2011 | Permalink