When you have a Form Template that needs extra logic, you can write a client-side layout control.
Not all Form Template behaviors require code: for field-based logic that causes simple changes to controls or values, Form Template Part Bindings can be configured in the Form Template's metadata. The best practice is to use bindings whenever possible.
Step-by-step guide
- Download the template layout control subclass from Aptify Web JavaScript Templates.
- Follow the prompts in the template to implement your layout control. Remember to also change the comments to apply to your plugin rather than the template.
- Remove any template code that you don't need or haven't implemented.
- Add your implemented layout control to Aptify metadata system. See Use a UI Part To Link JavaScript Code To Metadata.
Related articles
Comments
Please sign in to leave a comment.