User Guide
Chapter 9174
Insert [ShoppingCart] items as new records in [Recordset] when
[button] is clicked
This contract is an interaction between a basement ShoppingCart element, a
submit button, and the destination Recordset for the Cart data. When the button
is clicked, the shopping cart data is inserted into the orders database. The "Go To
Page" parameter allows you to redirect to the specified page after the insert is
completed. Note that this contract is used for an Orders database that inserts each
cart item as its own order record. It is preferable to use a normalized data structure
that includes separate records for orders and order details.
Parameters:
Go To Page specifies the target page for redirecting after Cart contents are
successfully added to the database
Participants:
ShoppingCart
Recordset
Button (any clickable object)