Coding in Page Flow
Last updated
In Page Flow, the Custom Code block allows you to add Javascript code and implement advanced custom functionality.
Use Zingy's comprehensive Javascript API in Page Flow for completely custom implementations or for AI-Wiz assisted logic development.
Click here for API Documentation.
You can write code to manipulate the page/form HTML5 DOM and access objects and invoke methods and functions that are part of the standard Web API implemented by the browser.
Zingy allows you to reference open-source, 3rd party and proprietary libraries/scripts in your app's pages and forms. This can be done at the app-level (where all pages and forms reference the library) or at the page-level.
You can access objects, call functions/methods from these libraries using the Custom Code block.
The variables and functions that are added to Page Flow (using blocks) can also be referenced by the code within the Custom Code block.
In Business or higher editions, you can create and edit Javascript file assets. The code within the the Custom Code block can reference variables and call functions in Javascript file assets if they have been added to the specific page/form or to the app.
NOTE: For code safety and efficiency, variables and functions declared inside the Custom Code block are not visible outside the block.
Last updated