Log In    |    Knowledge Base    |    4D Home
Tech Note: Dynamic Detail Forms
Published On: August 6, 2009
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

This Technical Note uses new features of 4D v11 SQL to build a solution to the problem of creating forms on the fly. Dynamic Detail Forms are created with HTML, then a mix of 4D commands and JavaScript are used to handle form events. They are then displayed in 4D v11 SQL's Web Area, and the Web Area's JavaScript execution feature is used to get data from the HTML form. This Technical Note includes a component that offers an "out of the box" solution with a simple detail form. There are also shared component methods which can be used in your own custom detail forms.

Download Complete Tech Note and example: Windows | Mac

Commented by Thomas Fitch on August 14, 2009 at 4:21 PM
This Tech Note includes a pretty basic component you can include in your databases, but the real value comes from seeing the effects of Web Area. The new Web Area in 4D v11 SQL is really powerful, especially since it allows developers access to JavaScript. You can make a lot of dynamic webpages and display them on your forms thanks to that. The uses should not be limited to dynamic forms (like this Tech Note), but look beyond at what other dynamic webpages could be used in your database.