1,813
การแก้ไข
| บรรทัดที่ 313: | บรรทัดที่ 313: | ||
** '''spfield_idx''': An array collection of indices of fields with special value types. | ** '''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 | * '''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_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]}}. | ** '''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]}}. | ||
| บรรทัดที่ 321: | บรรทัดที่ 321: | ||
* '''Data Attributes''' | * '''Data Attributes''' | ||
** '''current_data_raw''': Raw data (prior to being formatted for human-readability) in JavaScript object format. | |||
** '''transient_data''': Temporary data (in JavaScript object format) meant to be used by commands in ''post_submit_cmds'' and ''post_insta_cmds''. The data is sent from the server under key {{code|lang=javascript|'_transient_data'}} upon each data fetch or instacalc request. The variable is reset to {{code|lang=javascript|null}} at the end of each submission and instacalc cycle. | |||
* '''Additional Functions & Routines''' | * '''Additional Functions & Routines''' | ||