ข้ามไปเนื้อหา

ผลต่างระหว่างรุ่นของ "CuneiForm"

เพิ่มขึ้น 39 ไบต์ ,  17 เมษายน 2567
บรรทัดที่ 126: บรรทัดที่ 126:
=== Other Form Definition Variables ===
=== Other Form Definition Variables ===
Other notable MASTER variables that can be set upon form definition include:
Other notable MASTER variables that can be set upon form definition include:
* '''{{code|MASTER_firstonly}}''': A list of field names that are only active (editable) for a new entry, but inactive (not editable) when editing an old entry.
* '''{{code|MASTER_firstonly}}''' ''([str,])'': A list of field names that are only active (editable) for a new entry, but inactive (not editable) when editing an old entry.
* '''{{code|MASTER_skipseqs}}''': A list of field names to be skipped when the user is navigating through the form via {{key press|Tab}} or {{key press|Enter}}.
* '''{{code|MASTER_skipseqs}}''' ''([str,])'': A list of field names to be skipped when the user is navigating through the form via {{key press|Tab}} or {{key press|Enter}}.
* '''{{code|MASTER_skipcols}}''': A list of field names to be skipped when committing data to database. CuneiFox naturally skip fields that are meant for client-side viewing only (fields whose names are not present as database table columns). However, if the developer wants a field to be skipped despite the database having a similarly named column, do put the field name in this list.
* '''{{code|MASTER_skipcols}}''' ''([str,])'': A list of field names to be skipped when committing data to database. CuneiFox naturally skip fields that are meant for client-side viewing only (fields whose names are not present as database table columns). However, if the developer wants a field to be skipped despite the database having a similarly named column, do put the field name in this list.


These 3 variables share the same format:
These 3 variables share the same format: