JavaScript CookBook/Workflow Form/JSON serialisation of a form or form item

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


JSON serialisation of a form or form item

Problem: You need all current input values of the entire form or parts of it serialized in a JSON structure

Solution: Use the serialize() method of the form, tab, group or field to get their current input value(s). GMSC 07

Other Recipes in this category: