diff options
| author | Mark Wells <mark@freeside.biz> | 2012-03-14 13:27:33 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-03-30 15:13:44 -0700 |
| commit | 3fd1a0086512ada7b04e211161ac699d932ae1d0 (patch) | |
| tree | 3705b1d7c4b16d185723af6890ae4eca2b8df211 /httemplate/elements/location.html | |
| parent | fadc3d69d6a6bceac54fcb52b456222f28c42645 (diff) | |
alternate address standardization method (TeleAtlas), #13763
Diffstat (limited to 'httemplate/elements/location.html')
| -rw-r--r-- | httemplate/elements/location.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index c606523f0..053e0e50b 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -162,7 +162,7 @@ Example: NAME = "<%$pre%>zip" ID = "<%$pre%>zip" VALUE = "<% $object->get($pre.'zip') |h %>" - SIZE = 10 + SIZE = 11 onChange = "<% $onchange %>" <% $disabled %> <% $style %> @@ -220,6 +220,16 @@ Example: % } % } +%# For address standardization: +%# keep a clean copy of the address so we know if we need +%# to re-standardize +% foreach (qw(address1 city state country zip latitude +% longitude censustract addr_clean) ) { +<INPUT TYPE="hidden" NAME="old_<%$pre.$_%>" VALUE="<% $object->get($_) |h%>"> +% } +%# Placeholders +<INPUT TYPE="hidden" NAME="<%$pre%>cachenum" VALUE=""> +<INPUT TYPE="hidden" NAME="<%$pre%>addr_clean" VALUE=""> <%init> my %opt = @_; |
