Siebel Interactive Selling Transact Server Interface Reference > The Shopping Cart > Accessing Header Data >

Customer-Created Quote Header Fields

You can add custom fields to the header by adding a form element and giving it a name prefixed with "HEADER_". To retrieve the value entered into that field, use the function getQuoteHeader and pass in the name of the field without the "HEADER_" prefix. To add a Notes field onto the header, for example, you would include a new form element and prefill the value with whatever the user had previously entered using the getQuoteHeader function as follows:

<input type="textbox" name="HEADER_NOTES" value="<%= bean.getQuoteHeader("NOTES") %>">

When anything is entered into the HEADER_NOTES field it will automatically be saved with the quote, and the value entered will be shown on the quote by virtue of the getQuoteHeader("NOTES") function call.

 Siebel Interactive Selling Transact Server Interface Reference 
 Published: 18 April 2003