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.

html field

  1. adcontent
    Member

    Hello to all.
    How can I show the html field also in the form emailed?
    Which part of the code must change in order to make it visible, along with all other data compiled?
    Add a specification: I have to add a shortcode for a plugin, or alternatively an html code of jquery, from which the user must select an option.
    I need that option is visible in the final result.
    Thank you very much to all

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  2. adcontent
    Member


    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  3. David Peralty

    The HTML field is just for front-end display in the form, not for the notification or entry. You can manually add such blocks of text in your notification by removing the {all_fields} and including the fields one at a time in your notification.

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  4. adcontent
    Member

    Thanks for the reply. But exactly, or approximately, where I can make these changes?
    Forgive me if it seems a trivial question but it is vital for me to understand it exactly.
    best regardes

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  5. David Peralty

    In Notifications, your body/message probably just says {all_fields} currently.

    Remove this and look for the down facing arrow to the right side of the field. You can add in merge tags for the field values you want to send.

    You can construct your message like this for example:

    Hi {firstname:1},
    
    We just wanted to send you a copy of the information you submitted to us:
    {mergetag:2}
    {mergetag:3}
    
    Also, please be sure to visit <a href='http://google.com'>Google</a>. 
    
    All my best,
    David

    See how I was able to use text and HTML and not just the merge tags to include more information? That's what you can do as well.

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  6. zachwest
    Member

    I dont see where the html field can be put into the email. I see the arrow and understand how to add in only certain fields but I do not see where the html field is to be added.

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  7. David Peralty

    The HTML field cannot be added to the notifications. You can add the same content though. So you would copy the information from your HTML field and put them into your e-mail manually.

    UPDATE: see the last post in this thread

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  8. zachwest
    Member

    Is there anyway to add something like the html field into the form and have the notification pull it from the form? The HTML field is conditional to other fields.

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  9. David Peralty

    Not currently, no. You can make the details in the notification conditional as well using Conditional Shortcodes - http://www.gravityhelp.com/documentation/page/Shortcodes

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  10. zachwest
    Member

    I have a small grasp on how to go about this, but I have multiple html fields and each of those fields are conditional to 2 other different fields. How would you put a coding in there that shows which html field they would receive.

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  11. David Peralty

    Unfortunately, you can only use one object as a comparison in Notification messages unless you use full Conditional Notifications, which would require a great deal of work to create and manage.

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  12. zachwest
    Member

    Thank you very much for your help.

    Posted 11 years ago on Tuesday May 14, 2013 | Permalink
  13. Richard Vav
    Administrator

    HTML fields can now be included in notifications when using the {all_fields} merge tag, see the following gist for more details: https://gist.github.com/richardW8k/6947682

    Posted 11 years ago on Saturday October 12, 2013 | Permalink

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