Lines 25-30
Link Here
|
25 |
document.form.state.value=RegExp.$3; |
25 |
document.form.state.value=RegExp.$3; |
26 |
document.form.country.value=RegExp.$4; |
26 |
document.form.country.value=RegExp.$4; |
27 |
}); |
27 |
}); |
|
|
28 |
$("#select_B_city").change(function(){ |
29 |
var myRegEx=new RegExp(/(.*)\|(.*)\|(.*)\|(.*)/); |
30 |
document.form.select_B_city.value.match(myRegEx); |
31 |
document.form.B_zipcode.value=RegExp.$1; |
32 |
document.form.B_city.value=RegExp.$2; |
33 |
document.form.B_state.value=RegExp.$3; |
34 |
document.form.B_country.value=RegExp.$4; |
35 |
}); |
36 |
$("#select_altcity").change(function(){ |
37 |
var myRegEx=new RegExp(/(.*)\|(.*)\|(.*)\|(.*)/); |
38 |
document.form.select_altcity.value.match(myRegEx); |
39 |
document.form.altcontactzipcode.value=RegExp.$1; |
40 |
document.form.altcontactaddress3.value=RegExp.$2; |
41 |
document.form.altcontactstate.value=RegExp.$3; |
42 |
document.form.altcontactcountry.value=RegExp.$4; |
43 |
}); |
28 |
$(".clearDupe").on("focus",function(){ |
44 |
$(".clearDupe").on("focus",function(){ |
29 |
$(this).val(""); |
45 |
$(this).val(""); |
30 |
}) |
46 |
}) |
Lines 679-684
Link Here
|
679 |
[% END %] |
695 |
[% END %] |
680 |
City: </label> |
696 |
City: </label> |
681 |
<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" class="[% focusAction %]" /> |
697 |
<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" class="[% focusAction %]" /> |
|
|
698 |
[% IF ( city_cgipopup ) %]or <strong>choose</strong> |
699 |
<select id="select_B_city" name="select_B_city"> |
700 |
[% FOREACH city_loo IN city_loop %] |
701 |
[% IF ( city_loo.selected ) %] |
702 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]" selected="selected"> |
703 |
[% ELSE %] |
704 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]"> |
705 |
[% END %] |
706 |
[% city_loo.city_name %] [% city_loo.city_state %] [% city_loo.city_zipcode %] |
707 |
</option> |
708 |
[% END %] |
709 |
</select> |
710 |
[% END %] |
682 |
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %] |
711 |
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %] |
683 |
</li> |
712 |
</li> |
684 |
[% END %] |
713 |
[% END %] |
Lines 818-823
Link Here
|
818 |
[% END %] |
847 |
[% END %] |
819 |
City:</label> |
848 |
City:</label> |
820 |
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" class="[% focusAction %]" /> |
849 |
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" class="[% focusAction %]" /> |
|
|
850 |
[% IF ( city_cgipopup ) %]or <strong>choose</strong> |
851 |
<select id="select_altcity" name="select_altcity"> |
852 |
[% FOREACH city_loo IN city_loop %] |
853 |
[% IF ( city_loo.selected ) %] |
854 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]" selected="selected"> |
855 |
[% ELSE %] |
856 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]"> |
857 |
[% END %] |
858 |
[% city_loo.city_name %] [% city_loo.city_state %] [% city_loo.city_zipcode %] |
859 |
</option> |
860 |
[% END %] |
861 |
</select> |
862 |
[% END %] |
821 |
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %] |
863 |
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %] |
822 |
</li> |
864 |
</li> |
823 |
[% END %] |
865 |
[% END %] |
824 |
- |
|
|