• Resolved Paul

    (@mrclean-1)


    Hey there! First off, great plugin : ).

    And now a quick question: what smart tag should I use to make the body of the email sent hold just the comment/message (ie: not the address, name, subject, or anything else, as {all_fields} would do)? I’ve tried being clever and using {field_id=”4″} (fields 1-3 were email, name, and subject), but that just rendered an empty email, and https://wpforms.com/docs/how-to-use-smart-tags-in-wpforms doesn’t answer this question.

    Any leads would be very appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Paul

    (@mrclean-1)

    … wait! Never mind! I think I’ve resolved this through clicking the tiny “tags” option above each field in the preview mode — turns out the fields start numbering at “0” so {field_id=”2″} is actually the comment field : ).

    Plugin Support Jess Quig

    (@jquigam)

    Hi Paul,

    Yes, you’re absolutely right 🙂 The entry data from individual fields can be displayed using a Smart Tag that pulls the field ID. For example:

    {field_id="7"}
    

    This Smart Tag would display the entry data for the field with an ID of 7.

    In case it helps, this can be added quickly from right within the notification settings of the form builder. Here’s a screenshot of the Smart Tags option for the notification body.

    I’ll make a note that we should include this in our doc on notifications to make it easier for others to find down the road. Thanks for mentioning this! 🙂

    Thread Starter Paul

    (@mrclean-1)

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make the body of the email just the message field?’ is closed to new replies.