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 687-692
Link Here
|
687 |
[% END %] |
703 |
[% END %] |
688 |
City: </label> |
704 |
City: </label> |
689 |
<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" class="[% focusAction %]" /> |
705 |
<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" class="[% focusAction %]" /> |
|
|
706 |
[% IF ( city_cgipopup ) %]or <strong>choose</strong> |
707 |
<select id="select_B_city" name="select_B_city"> |
708 |
[% FOREACH city_loo IN city_loop %] |
709 |
[% IF ( city_loo.selected ) %] |
710 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]" selected="selected"> |
711 |
[% ELSE %] |
712 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]"> |
713 |
[% END %] |
714 |
[% city_loo.city_name %] [% city_loo.city_state %] [% city_loo.city_zipcode %] |
715 |
</option> |
716 |
[% END %] |
717 |
</select> |
718 |
[% END %] |
690 |
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %] |
719 |
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %] |
691 |
</li> |
720 |
</li> |
692 |
[% END %] |
721 |
[% END %] |
Lines 826-831
Link Here
|
826 |
[% END %] |
855 |
[% END %] |
827 |
City:</label> |
856 |
City:</label> |
828 |
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" class="[% focusAction %]" /> |
857 |
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" class="[% focusAction %]" /> |
|
|
858 |
[% IF ( city_cgipopup ) %]or <strong>choose</strong> |
859 |
<select id="select_altcity" name="select_altcity"> |
860 |
[% FOREACH city_loo IN city_loop %] |
861 |
[% IF ( city_loo.selected ) %] |
862 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]" selected="selected"> |
863 |
[% ELSE %] |
864 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]"> |
865 |
[% END %] |
866 |
[% city_loo.city_name %] [% city_loo.city_state %] [% city_loo.city_zipcode %] |
867 |
</option> |
868 |
[% END %] |
869 |
</select> |
870 |
[% END %] |
829 |
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %] |
871 |
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %] |
830 |
</li> |
872 |
</li> |
831 |
[% END %] |
873 |
[% END %] |
832 |
- |
|
|