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

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

เพิ่มขึ้น 45 ไบต์ ,  18 มิถุนายน 2567
บรรทัดที่ 567: บรรทัดที่ 567:
=== Search and Fill ===
=== Search and Fill ===
In the search-fill function, a CuneiForm take responsibility in two areas:
In the search-fill function, a CuneiForm take responsibility in two areas:
# Invoking the corresponding [[CuneiTable|search table]] or [[CuneiModal|search modal]]. The control of the client-side behaviours is then relinquished to the table or modal.
# Invoking the corresponding [[CuneiModal|search modal]] (which works along side its corresponding [[CuneiTable|search table]]). The control of the client-side behaviours is then relinquished to the modal.
# Once the table or modal has retrieved the selection result from the server, the client-side control is handed back to the CuneiForm to do the form filling.
# Once the modal has retrieved the selection result from the server (via the search table), the client-side control is handed back to the CuneiForm to do the form filling.


''Refer to [[CuneiTable#Shortcut Route for Single-table Page & Search Table|a subsection in the main CuneiTable article]] for a template of a Flask route that handles table populating and search result fetching.''
''Refer to [[CuneiTable#Shortcut Route for Single-table Page & Search Table|a subsection in the main CuneiTable article]] for a template of a Flask route that handles table populating and search result fetching.''