User Guide
CyberCash SmartElement Reference 227
Use [ShipList] data to update/insert in [ShipViaCol] and
[ShipCostCol] of [Recordset] when [button] is clicked
Inserts/updates a recordset with data from a list element that is populated via the
'Populate list element..." contracts from eStore version 2. This contract inserts the
list element's 'value' attribute. The corresponding value stores both the ship
method and cost in a delimited string of the form "ShipMethod:ShipCost."
This allows to store the list data in the Orders database for both the ship
method and cost in one step. Values will not be reflected in the recordset unless
an accompanying Insert or Update contract is applied between the button
and recordset.
Parameters:
ShipCostCol is the recordset's destination field for the list element's ship
cost data.
ShipViaCol is the recordset's destination field for the list element's ship
method data.
Typical Participants:
Button (submit button)
Recordset
ShipList (dropdown list)
Replace [token] in [target] with value of shipping from
[ShoppingCart]
This is an interaction between the ShoppingCart and a text element or edit box
that replaces a token with the value of the shopping cart's shipping property.
Parameters:
Token is the the case sensitive text in the text element to be replaced with the
shopping cart shipping value.
Participants:
ShoppingCart
Target (text element, edit box)