Adding a custom field into a form looks a bit different from other templates, but the concept is similar. Instead of referencing the field name, you use field ID. You can get that by hovering over the edit button. It is also added to the template key when you create the field, but in many cases we edit that so the hovering is usually the easiest way.
The tag to add into your template is: