ContactInformation

Description
This control displays an address form that can be used to add/modify a billing or shipping address. Use the CustomerAddress control if you need to display a drop down list of customer addresses from the A/R Customer Shipping Address table.

Appearance

Attributes
NameValue
TitleAddress title, for example: "Ship To"
ReadOnly"False" if fields should be editable by the user, or "True" if the address should be displayed but cannot be edited by the user. Default value is "False"
FormatPhoneNumber "True" if user entered phone/fax numbers should be formatted (for example, (519)555-1212). "False" if user entered phone/fax numbers should not be formatted. For applications outside North America, this value should be "False". Default value is "False"
BillingAddressID Set this value to blank "", or to the control ID of the Billing Address ContactInformation control. If this attribute is not blank, then the linked text "Same as Billing" will appear next to the address Title (as shown in the figure above). Clicking this link will then cause the contents of the Billing Address form to be copied to this address form.
RequiredFields A comma separated list of control ID's that should be treated as a required field. Required fields are normally marked with an "*" character next to the field label. When the address form is submitted, these form fields cannot be blank or a validation error will be registered.
objidA unique session identifier string binding this form's address fields to a ContactInformation object maintained in the user's ASP.NET session. See Remarks below for more information.
Remarks
The EcommSuite Framework automatically creates a ContactInformation object named "o_bill" containing the customer's default billing address, and another named "o_ship" containing the customer's default shipping address. Therefore, you should set the objid attribute value to "o_bill" if you want the address form to display the default billing address for the current customer, or to "o_ship" if you want the address form to display the customer's default shipping address.

If you need to create a shipping address form including a drop-down list of customer shipping addresses as stored in ACCPAC, use the CustomerAddress control instead.