How to: Default-value hack for more flexibility (Part 1)
AppGini offers several ways for defining static or dynamic default values for new records. Sometimes there is need for more flexibility. In this tutorial I am going to show a small PHP hack which will allow you to define default values on output fields dynamically in a very flexible way. Part 1: Technique + Changing single fields Part 2: Changing multiple fields at once Built in options Static default values If you need static initial values (default values) for new records in AppGini tables you can use the Default property in AppGini when modeling a column. Dynamic default values There …