KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Generating a Listbox using Dynamic forms
PRODUCT: 4D | VERSION: 17 | PLATFORM: Mac & Win
Published On: September 4, 2018
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

The ability to create Dynamic forms is a feature that is implemented starting in v16R6. An interesting part of this feature is that one can dynamically build each form object definition with fewer pieces of code and without a form design. For a Listbox, the conventional design approach is to setup a form as well as set the data source to bind the data in each column through code or in the Listbox property settings via form editor. But with Dynamic forms, there is an efficient process which can be built through a JSON definition. By simply creating a JSON form definition through code or in a JSON file, 4D can easily display it. The power of generating a fully rich Listbox without the need of designing through a form editor can be very useful as well as an efficient practice for existing and new databases. This technical note will breakdown the usage of generating Dynamic forms containing a Listbox as well as demonstrate various implementations through a sample database.

Download Complete Tech Note: Tech Note Document

Commented by Robert Broussard on December 11, 2018 at 1:31 PM
The link is failing in Safari and Firefox....
Commented by Vance Villanueva on November 12, 2018 at 7:59 AM
Safari browser has added new security features that block downloading a Tech Note from KB. Please try another browser such as Chrome or Firefox.
Commented by Donald Koffman on November 10, 2018 at 5:48 AM
The link is to the Tech note is bad. Safari can't open the page.