JavaScript CookBook/Modal Forms/Using modal forms

From GeoMedia Smart Client
Jump to: navigation, search
GMSC 2013/2014 Javascript API Overview Form Events Types Utility Functions client-side Validation Conditions Interaction with SmartClient Cookbook Cheatsheet


Using modal forms

Problem: You want to open one workflow form within another because the editing has to happen in the context of both forms (e.g. editing a master-detail relationship).

Solution: By using modal form dialogs, you can open a smaller child form on top of a bigger parent form and have the two forms interact with each other. By specifying a closeAction you can control what should happen with the data of the child form once it is closed. See IG.openSimpleModalForm() function for details.

This recipe works for GMSC 2013 or later.



Other Recipes in this category: