VbzCart/docs/coding/checkout

From Woozle Writes Code
< VbzCart‎ | docs‎ | coding
Jump to navigation Jump to search

see also pieces/checkout

The checkout pages use a new set of form/field classes which might later be ported back into Ferreteria if I can figure out how they fit in.

The process of building and displaying a form includes these elements:

  • Specifying field objects and making them available as needed (e.g. BuildFieldFor())
  • Creating an array of fields to be displayed (e.g. BuildShipAddrTemplate(), BuildCardAddrTemplate())
    • This specifies the name and label text for each field.
  • Loading the necessary fields so they're available for receiving form data (e.g. LoadControlsForPage())