+ if(what.form.enter_censustract) {
+ what.form.enter_censustract.disabled = true;
+ }
+ }
+
+ function location_clear(what) {
+% for (grep { $_ ne 'location_number' } @location_fields, 'city_select') {
+ var ftype = what.form.<%$_%>.tagName;
+ if( ftype == 'INPUT' ) what.form.<%$_%>.value = '';
+% }
+ if(what.form.enter_censustract) {
+ what.form.enter_censustract.value = '';
+ }
+% if ( $opt{'alt_format'} ) {
+ changeSelect(what.form.location_kind, '');
+ changeSelect(what.form.location_type, '');
+ what.form.location_number.value = '';
+% }