PQLForms displays blank and undefined values the same way; as an empty text
box. When it comes to writing the record, all the empty fields are stored
as blank - which means that some may end up as zero length strings, others
as missing BLANK and some as system undefined - depending on the schema
definition for each variable. This will happen even if the fields are
untouched during data entry.
This has been fixed so that the edit boxes will remember if the value is
undefined and only change if there has been specific data entry in that
field. This is now consistent with old SIRForms.
There is also a setting in preferences so that you can specify what is
displayed in an edit box if the value is undefined. The default is to
display nothing. If you specify a different string then that will be shown
(in light red) when the field is not in focus. You can set an edit item to
undefined by pressing Ctrl+U when editing that field.
|