HTML for fields in the FormView are rendered based on the field's template. Templates are defined using Alpha Anywhere's client-side templating syntax. If you've worked with the list control, you may be familiar with client-side templating. If not, hang on! We have some resources for you later on in this post.
Templates in the FormView can be specified at the Form level (the 'system' template and 'named' templates) or defined for individual fields in their template property. Client-side templating directives, such as conditional statements, can be used when defining templates allowing you to create beautiful, robust interfaces.
Understanding Field Templates
Video Link: https://www.viddler.com/v/5278ed0a
View the rest of the Template Videos in the Video Library:
Prerequisite Knowledge Base
If you've never heard of the FormView control or don't know what it is, check out our Introduction to the FormView Control post.
While you're checking out that thread, don't forget to brush up on your Client-side Templating :
Who has created field templates in their applications? Share your field templates and questions in this thread!
Templates in the FormView can be specified at the Form level (the 'system' template and 'named' templates) or defined for individual fields in their template property. Client-side templating directives, such as conditional statements, can be used when defining templates allowing you to create beautiful, robust interfaces.
Understanding Field Templates
Video Link: https://www.viddler.com/v/5278ed0a
View the rest of the Template Videos in the Video Library:
- Using Conditional Statements in Templates: Learn how to add conditional statements to field templates. Conditionals use the client-side templating syntax.
- Named Templates: The FormView lets you save templates as Named Templates which can be referenced in your field templates.
Prerequisite Knowledge Base
If you've never heard of the FormView control or don't know what it is, check out our Introduction to the FormView Control post.
While you're checking out that thread, don't forget to brush up on your Client-side Templating :
- Client-side Template Tutorial: A step-by-step tutorial on merging JSON data into a client-side template
- The Template Tester: A tutorial on client-side template syntax and how using the Template Tester will help takes the guess work out of creating client-side templates.
- Alpha Anywhere Official Release Notes: These notes detail features and fixes made to Alpha Anywhere since its initial release. The release notes often contain a wealth of useful information and examples. Use your browser to search the release notes for "client-side templates" to find a wealth of information and examples.
Who has created field templates in their applications? Share your field templates and questions in this thread!
Comment