<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Functions%3AuserAddressAddEdit</id>
		<title>Functions:userAddressAddEdit - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Functions%3AuserAddressAddEdit"/>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAddressAddEdit&amp;action=history"/>
		<updated>2026-05-01T03:15:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAddressAddEdit&amp;diff=609&amp;oldid=prev</id>
		<title>71.163.185.8 at 03:19, 25 February 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAddressAddEdit&amp;diff=609&amp;oldid=prev"/>
				<updated>2009-02-25T03:19:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 03:19, 25 February 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*lastName&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*lastName&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*company&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*company&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:::*addressName&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*street1&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*street1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*street2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*street2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>71.163.185.8</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAddressAddEdit&amp;diff=591&amp;oldid=prev</id>
		<title>71.163.185.8: /* Paramaters */  added &quot;addressName&quot; field to pissble field list</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAddressAddEdit&amp;diff=591&amp;oldid=prev"/>
				<updated>2009-02-20T13:02:04Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Paramaters: &lt;/span&gt;  added &amp;quot;addressName&amp;quot; field to pissble field list&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:02, 20 February 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:: Comma separated list of fields to be managed by the form.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:: Comma separated list of fields to be managed by the form.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:: Available fields to place in $fieldList:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:: Available fields to place in $fieldList:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:::*addressName&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*firstName&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*firstName&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*lastName&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:::*lastName&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>71.163.185.8</name></author>	</entry>

	<entry>
		<id>http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAddressAddEdit&amp;diff=378&amp;oldid=prev</id>
		<title>Root: New page: == Description == Controls an address form which adds and edits user account info. Use this function to build an 'address book management' page.  == Syntax == $addressForm = eV::userAddres...</title>
		<link rel="alternate" type="text/html" href="http://wiki.whirlwind-ecommerce.com/mediawiki/index.php?title=Functions:userAddressAddEdit&amp;diff=378&amp;oldid=prev"/>
				<updated>2008-11-06T03:37:04Z</updated>
		
		<summary type="html">&lt;p&gt;New page: == Description == Controls an address form which adds and edits user account info. Use this function to build an &amp;#039;address book management&amp;#039; page.  == Syntax == $addressForm = eV::userAddres...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Description ==&lt;br /&gt;
Controls an address form which adds and edits user account info. Use this function to build an 'address book management' page.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
$addressForm = eV::userAddressAddEdit($fieldList);&lt;br /&gt;
&lt;br /&gt;
== Paramaters ==&lt;br /&gt;
*$fieldList&lt;br /&gt;
:: Comma separated list of fields to be managed by the form.&lt;br /&gt;
:: Available fields to place in $fieldList:&lt;br /&gt;
:::*firstName&lt;br /&gt;
:::*lastName&lt;br /&gt;
:::*company&lt;br /&gt;
:::*addressName&lt;br /&gt;
:::*street1&lt;br /&gt;
:::*street2&lt;br /&gt;
:::*city&lt;br /&gt;
:::*state&lt;br /&gt;
:::*state_alt&lt;br /&gt;
:::*zipCode&lt;br /&gt;
:::*country&lt;br /&gt;
:::*phone1&lt;br /&gt;
:::*phone2&lt;br /&gt;
:::*phone3&lt;br /&gt;
:::*fax&lt;br /&gt;
&lt;br /&gt;
:: Example $fieldList value: &amp;quot;firstName,lastName,street1,street2,city,state,zipCode&amp;quot;&lt;br /&gt;
:: The listed fields in $fieldList can be complimented with the following field controls:&lt;br /&gt;
::*/min:#:message&lt;br /&gt;
::*/max:#:message&lt;br /&gt;
::*/default:value&lt;br /&gt;
::*/email:message&lt;br /&gt;
::*/unique:message&lt;br /&gt;
:: example use of controls in $fieldList: &amp;quot;firstName/min:1:You must enter first name,lastName/min:1:You must enter a last name&amp;quot;&lt;br /&gt;
:: note that the messages in control fields cannot contain comma (,), slash (/) or colon (:) as these have special meaning to the processing function&lt;br /&gt;
&lt;br /&gt;
== Return Values ==&lt;br /&gt;
Multidimensional array of field values and error messages containing [message]: a string containing any error messages that prohibited the form data from being submitted, and [values]: a keyed array of fields and their values. Note that only fields specified in the $fieldList attribute will be contained in the [value] array:&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
;example&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// kick if logged out &lt;br /&gt;
// recommended to place in 'pre process' code of template&lt;br /&gt;
// no reason to waste processing power if we just gonna kick to home.&lt;br /&gt;
authorizeIsLoggedIn(&amp;quot;/index.php?message=You must be logged in to manage your address book&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
// required fields - tell the system what do do with what address&lt;br /&gt;
// addressId can be passed via URL (querystring) or FORM (post)&lt;br /&gt;
// sets the address that will be managed. Set as 0 for a new address&lt;br /&gt;
if(!isset($_REQUEST['addressId'])) $_REQUEST['addressId'] = 0;&lt;br /&gt;
// formAction tells the system weather we are adding (new) or editing (query) an address&lt;br /&gt;
// default to 'new', set to 'query' if you are editing an existing address&lt;br /&gt;
if(!isset($_REQUEST['formAction'])) $_REQUEST['formAction'] = 'new';&lt;br /&gt;
// userAddressAddEdit will have access to the addressId and formAction request variables&lt;br /&gt;
&lt;br /&gt;
// this function will actually post the form&lt;br /&gt;
$addressFormArr = eV::userAddressAddEdit('addressId,emailAddress,firstName/min:1:You must enter a first name,lastName/min:1:You must enter a last name,street1/min:1:You must enter a street address,street2,city/min:1:You must enter a city,state,state_alt,zipCode/min:1:You must enter a postal code,country,phone1/min:1:You must enter a phone number,company');&lt;br /&gt;
&lt;br /&gt;
// shortcut the returned arrays&lt;br /&gt;
$addVals = $addressFormArr['values'];&lt;br /&gt;
$addMsg = $addressFormArr['message'];&lt;br /&gt;
&lt;br /&gt;
// quick and ez state and country options&lt;br /&gt;
$stateOptions = eV::addressStateOptions($addVals['state']); // returns string of option tags for states&lt;br /&gt;
$countryOptions= eV::addressCountryOptions($addVals['country']); // returns string of option tags for countries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// output page controlled content&lt;br /&gt;
echo &amp;quot;$title&lt;br /&gt;
&amp;lt;br/&amp;gt;$subTitle&lt;br /&gt;
&amp;lt;br/&amp;gt;$copy&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// global message&lt;br /&gt;
if(!empty($message)) echo $message;&lt;br /&gt;
&lt;br /&gt;
// userAddressAddEdit error message&lt;br /&gt;
if(!empty($addMsg)) echo $addMsg;&lt;br /&gt;
&lt;br /&gt;
// start address form&lt;br /&gt;
echo &amp;quot;&amp;lt;hr&amp;gt;&amp;lt;form name=\&amp;quot;addressForm\&amp;quot; action=\&amp;quot;index.php\&amp;quot; method=\&amp;quot;post\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
// use htmlspecial chars to make sure characters that could adversely effect the form field are converted (&amp;gt;&amp;quot;'&amp;lt;...etc)&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Email Address: &amp;lt;input name=\&amp;quot;emailAddress\&amp;quot; maxlength=100 value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['emailAddress']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; /&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;First Name: &amp;lt;input name=\&amp;quot;firstName\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['firstName']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; maxlength=50/&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Last Name: &amp;lt;input name=\&amp;quot;lastName\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['lastName']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; maxlength=50/&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Company: &amp;lt;input name=\&amp;quot;company\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['company']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; maxlength=50/&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Street 1: &amp;lt;input name=\&amp;quot;street1\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['street1']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; maxlength=100/&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Street 2: &amp;lt;input name=\&amp;quot;street2\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['street2']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; maxlength=100/&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;City: &amp;lt;input name=\&amp;quot;city\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['city']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; maxlength=50/&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;State: &amp;lt;select name=\&amp;quot;state\&amp;quot; &amp;gt;&amp;quot; . $stateOptions . &amp;quot;&amp;lt;/select&amp;gt;&amp;quot;;  &lt;br /&gt;
&lt;br /&gt;
// state alt only necessary if using countried other than USA, to support other country states, provences etc.      	&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;State Alt: &amp;lt;input name=\&amp;quot;state_alt\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['state_alt']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; maxlength=50/&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Zip Code: &amp;lt;input name=\&amp;quot;zipCode\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['zipCode']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; size=\&amp;quot;10\&amp;quot; maxlength=\&amp;quot;10\&amp;quot;/&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Country: &amp;lt;select name=\&amp;quot;country\&amp;quot;&amp;gt;&amp;quot; . $countryOptions; . &amp;quot;&amp;lt;/select&amp;gt;&amp;quot;;&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;Phone: &amp;lt;input name=\&amp;quot;phone1\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['phone1']) . &amp;quot;\&amp;quot; type=\&amp;quot;text\&amp;quot; /&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// submit button&lt;br /&gt;
echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;Post Address\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// required hidden fields&lt;br /&gt;
echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;addressId\&amp;quot; value=\&amp;quot;&amp;quot; . htmlspecialchars($addVals['addressId']) . &amp;quot;\&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;formAction\&amp;quot; value=\&amp;quot;form\&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;pageId\&amp;quot; value=\&amp;quot;$pageId\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// exitLocation field tells system where to go after form is succesfully submitted&lt;br /&gt;
// usu just want to go back into the address management form&lt;br /&gt;
echo &amp;quot;&amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;exitLocation\&amp;quot; value=\&amp;quot;index.php?pageId=$pageId&amp;amp;message=Changes to your address book have been posted\&amp;quot;&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// close out form&lt;br /&gt;
echo &amp;quot;&amp;lt;/form&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
;example 2&lt;br /&gt;
See [[Page Templates:Creating a Address Book Management Template]] for an example of integrating the address selection and address form in the same template/page.&lt;/div&gt;</summary>
		<author><name>Root</name></author>	</entry>

	</feed>