The $_settings property accepts an array of settings, following an array format shared with Actions.
For a list of accepted settings properties and a list of basic settings, see the article on Settings Configuration.
Fields Templates are output to the page as Backbone/Underscore templates.
The template markup should be wrapped in script tags, identified with the id nf-tmpl-field-[type].
Template Loading Hierarchy
The template files are loaded using a hierarchical system, similar to WordPress theme templates.
The order is as follows:
- Theme Directory – “[theme folder]/ninja-forms/templates/”
- Filtered Directories -nf_field_template_file_paths
- Templates Directory – “includes/Templates”