S-Docs allows you to easily leverage conditional logic within your templates with the RENDER feature. You can insert render statements by the click of a button in the WYSIWYG template editor without any HTML code. You can watch the video below for a quick tutorial, or refer to the written instructions under the video.

Video Tutorial

Written Instructions

Go to the template for which you would like to add render statements, and click the Insert RENDER button.

You can add a variety of render statements into your template. For more information on conditional logic within a template, click here.

In this example, we're going to use CONTAINS to see if both the Owner ID and Created by ID contain the name USER.

We'll create the first half of the 'and' statement which will look to see if the Owner ID contains USER.

Click Add Condition. Next, add the second half of the statement which will look to see if the Created by ID contains USER.

Again, click Add Condition. In the third box, you can decide what you would like for the rendered contents. Since we just want to see if both the Owner and Created by IDs contain USER, we are not going to add conditionally-rendered contents.

Next, click Insert, and you will see your render statement inserted into your template!

Note: If any fields in your render statement contain words and have a field type anything other than a basic string type (rich text, textarea, longtext, function, etc.) you will need to add the merge field attribute text to the merge field. If adding text doesn't work, you could instead try adding the merge field attribute render. For example, if your merge field looked like this: {{!MyTestField}}
The fields with the attributes added would look like this: {{!MyTestField text}} or {{!MyTestField render}}Note that the Insert RENDER button will not add these attributes automatically.