JavaScript CookBook
From GeoMedia Smart Client
GMSC 2013/2014 Javascript API | Overview • Form • Events • Types • Utility Functions • client-side Validation • Conditions • Interaction with SmartClient • Cookbook • Cheatsheet |
Javascript Cookbook
The Javascript Cookbook contains a lot of "recipes" for common Javascript tasks in Workflows and Smart Client, such as
- manipulating form elements,
- validating user input,
- interacting with the Workflow backend
- controlling Smart Client via Javascript
and many more. The Cookbook uses a problem-oriented approach instead of providing a comprehensive documentation, which makes it the ideal entry point for novice Javascript API programmers.
We are continously updating the Cookbook recipes based on support requests we receive, so make to consult the Cookbook frequently. If you miss recipes for common scripting problems you encounter, don't hesitate to contact us.
Below you find an automatically generated list of all current Cookbook recipes:
JavaScript CookBook
- Workflow Form
- Set the value of a form field via Javascript
- Manipulating forms immediately after loading
- JSON serialisation of a form or form item
- Execute an action whenever the value of a certain form field changes
- Dynamic hiding or disabling form elements based on user input
- Checking if a form field contains a value
- Accessing form items via Javascript
- Validation
- Theme CSS Customisations
- Smart Client Interaction
- Overview List
- Modal Forms
- Marking a field as required
- Custom Scripts
- AJAX Interactions