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

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

เพิ่มขึ้น 1,335 ไบต์ ,  9 เมษายน 2567
บรรทัดที่ 308: บรรทัดที่ 308:
** '''linked_modals''': An array collection of 'modal objects' linked to the form via search-and-fill relationships.
** '''linked_modals''': An array collection of 'modal objects' linked to the form via search-and-fill relationships.


* '''Field-related Attributes'''
* '''Field State & Type Attributes'''
** '''readonly''': An array collection of the names of fields to be rendered with {{code|lang=javascript|1= readOnly = true}}. This array is used during form triggering to preserve the desired field states.
** '''disabled''': An array collection of the names of fields to be rendered with {{code|lang=javascript|1= disabled = true}}. This array is used during form triggering to preserve the desired field states.
** '''spfield_idx''': An array collection of indices of fields with special value types.
 
* '''Custom Sequences''' ''(If not {{code|lang=javascript|null}}, each member of both arrays takes the format {{code|lang=python|[str form_id, int ele_seq_idx]}}. Use cases for both arrays include form-chaining.)''
** '''custom_next_ele''': An array collection of custom forward tab-sequence. If {{code|form_obj.custom_next_ele[i]}} is defined, pressing {{key press|Tab}} on {{code|form_obj.seq[i]}} will take you to the field referenced in {{code|form_obj.custom_next_ele[i]}} instead of {{code|form_obj.seq[i+1]}}.
** '''custom_prev_ele''': An array collection of custom reverse tab-sequence. If {{code|form_obj.custom_prev_ele[i]}} is defined, pressing {{key press|Shift|Tab}} on {{code|form_obj.seq[i]}} will take you to the field referenced in {{code|form_obj.custom_prev_ele[i]}} instead of {{code|form_obj.seq[i-1]}}.


* '''Status Attributes'''
* '''Status Attributes'''


* '''Data Attributes'''
* '''Data Attributes'''