I noticed that there is an array that holds the values for each field originally selected from the database in a Form Application. I really don’t want to embed in my code direct references to ScriptCase variable names, such as:
$this->nmgp_dados_select[‘projectcompletedate’]
I would much rather use an official SC macro like:
sc_form_select({ProjectCompleteDate})
This would be much better and more efficient than doing another database select to get the value currently in the table.field, since the values are already there and are already used by the sc_changed() macro.