Lines 470-599
Link Here
|
470 |
|
470 |
|
471 |
[% END %] |
471 |
[% END %] |
472 |
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %] |
472 |
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %] |
473 |
<fieldset class="rows" id="memberentry_mainaddress"> |
473 |
[% INCLUDE 'member-main-address-style-us.inc' %] |
474 |
<legend id="main_address_lgd">Main address</legend><ol> |
|
|
475 |
[% UNLESS nostreetnumber %] |
476 |
<li> |
477 |
[% IF ( mandatorystreetnumber ) %] |
478 |
<label for="streetnumber" class="required"> |
479 |
[% ELSE %] |
480 |
<label for="streetnumber"> |
481 |
[% END %] |
482 |
Street number: </label> |
483 |
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" /> |
484 |
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %] |
485 |
</li> |
486 |
[% END %] |
487 |
[% UNLESS nostreettype %] |
488 |
[% IF roadtypes %] |
489 |
<li> |
490 |
[% IF ( mandatorystreettype ) %] |
491 |
<label for="streettype" class="required"> |
492 |
[% ELSE %] |
493 |
<label for="streettype"> |
494 |
[% END %] |
495 |
Street type: </label> |
496 |
<select name="streettype"> |
497 |
<option value=""></option> |
498 |
[% FOR roadtype IN roadtypes %] |
499 |
[% IF roadtype.selected %] |
500 |
<option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option> |
501 |
[% ELSE %] |
502 |
<option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option> |
503 |
[% END %] |
504 |
[% END %] |
505 |
</select> |
506 |
[% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %] |
507 |
</li> |
508 |
[% END %] |
509 |
[% END %] |
510 |
[% UNLESS noaddress %] |
511 |
<li> |
512 |
[% IF ( mandatoryaddress ) %] |
513 |
<label for="address" class="required"> |
514 |
[% ELSE %] |
515 |
<label for="address"> |
516 |
[% END %] |
517 |
Address: </label> |
518 |
<input type="text" id="address" name="address" size="35" value="[% address %]" /> |
519 |
[% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %] |
520 |
</li> |
521 |
[% END %] |
522 |
[% UNLESS noaddress2 %] |
523 |
<li> |
524 |
[% IF ( mandatoryaddress2 ) %] |
525 |
<label for="address2" class="required"> |
526 |
[% ELSE %] |
527 |
<label for="address2"> |
528 |
[% END %] |
529 |
Address 2: </label> |
530 |
<input type="text" id="address2" name="address2" size="35" value="[% address2 %]" /> |
531 |
[% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %] |
532 |
</li> |
533 |
[% END %] |
534 |
[% UNLESS nocity %] |
535 |
<li> |
536 |
[% IF ( mandatorycity ) %] |
537 |
<label for="city" class="required"> |
538 |
[% ELSE %] |
539 |
<label for="city"> |
540 |
[% END %] |
541 |
City: </label> |
542 |
<input type="text" id="city" name="city" size="20" value="[% city %]" /> |
543 |
[% IF ( city_cgipopup ) %]or <strong>choose</strong> |
544 |
<select id="select_city" name="select_city"> |
545 |
[% FOREACH city_loo IN city_loop %] |
546 |
[% IF ( city_loo.selected ) %] |
547 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]" selected="selected"> |
548 |
[% ELSE %] |
549 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]"> |
550 |
[% END %] |
551 |
[% city_loo.city_name %] [% city_loo.city_state %] [% city_loo.city_zipcode %] |
552 |
</option> |
553 |
[% END %] |
554 |
</select> |
555 |
[% END %] |
556 |
[% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %] |
557 |
</li> |
558 |
[% END %] |
559 |
[% UNLESS nostate %] |
560 |
<li> |
561 |
[% IF ( mandatorystate ) %] |
562 |
<label for="state" class="required"> |
563 |
[% ELSE %] |
564 |
<label for="state"> |
565 |
[% END %] |
566 |
State: </label> |
567 |
<input type="text" name="state" id="state" size="20" value="[% state %]" /> |
568 |
[% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %] |
569 |
</li> |
570 |
[% END %] |
571 |
[% UNLESS nozipcode %] |
572 |
<li> |
573 |
[% IF ( mandatoryzipcode ) %] |
574 |
<label for="zipcode" class="required"> |
575 |
[% ELSE %] |
576 |
<label for="zipcode"> |
577 |
[% END %] |
578 |
Zip/Postal code: </label> |
579 |
<input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" /> |
580 |
[% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %] |
581 |
</li> |
582 |
[% END %] |
583 |
[% UNLESS nocountry %] |
584 |
<li> |
585 |
[% IF ( mandatorycountry ) %] |
586 |
<label for="country" class="required"> |
587 |
[% ELSE %] |
588 |
<label for="country"> |
589 |
[% END %] |
590 |
Country: </label> |
591 |
<input type="text" name="country" id="country" size="20" value="[% country %]" /> |
592 |
[% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %] |
593 |
</li> |
594 |
[% END %] |
595 |
</ol> |
596 |
</fieldset> |
597 |
[% END # nostreet && nocity etc group%] |
474 |
[% END # nostreet && nocity etc group%] |
598 |
|
475 |
|
599 |
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] |
476 |
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] |
Lines 682-914
Link Here
|
682 |
[% IF ( step_6 ) %] |
559 |
[% IF ( step_6 ) %] |
683 |
|
560 |
|
684 |
[% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %] |
561 |
[% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %] |
685 |
<fieldset class="rows" id="memberentry_address"> |
562 |
[% INCLUDE 'member-alt-address-style-us.inc' %] |
686 |
<legend id="alt_address_lgd">Alternate address</legend><ol> |
|
|
687 |
[% UNLESS noB_address %] |
688 |
<li> |
689 |
[% IF ( mandatoryB_address ) %] |
690 |
<label for="B_address" class="required"> |
691 |
[% ELSE %] |
692 |
<label for="B_address"> |
693 |
[% END %] |
694 |
Address: </label> |
695 |
<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" /> |
696 |
[% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %] |
697 |
</li> |
698 |
[% END %] |
699 |
[% UNLESS noB_address2 %] |
700 |
<li> |
701 |
[% IF ( mandatoryB_address2 ) %] |
702 |
<label for="B_address2" class="required"> |
703 |
[% ELSE %] |
704 |
<label for="B_address2"> |
705 |
[% END %] |
706 |
Address 2: </label> |
707 |
<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" /> |
708 |
[% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %] |
709 |
</li> |
710 |
[% END %] |
711 |
[% UNLESS noB_city %] |
712 |
<li> |
713 |
[% IF ( mandatoryB_city ) %] |
714 |
<label for="B_city" class="required" > |
715 |
[% ELSE %] |
716 |
<label for="B_city"> |
717 |
[% END %] |
718 |
City: </label> |
719 |
<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" /> |
720 |
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %] |
721 |
</li> |
722 |
[% END %] |
723 |
[% UNLESS noB_state %] |
724 |
<li> |
725 |
[% IF ( mandatoryB_state ) %] |
726 |
<label for="B_state" class="required" > |
727 |
[% ELSE %] |
728 |
<label for="B_state"> |
729 |
[% END %] |
730 |
State: </label> |
731 |
<input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" /> |
732 |
[% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %] |
733 |
</li> |
734 |
[% END %] |
735 |
[% UNLESS noB_zipcode %] |
736 |
<li> |
737 |
[% IF ( mandatoryB_zipcode ) %] |
738 |
<label for="B_zipcode" class="required"> |
739 |
[% ELSE %] |
740 |
<label for="B_zipcode"> |
741 |
[% END %] |
742 |
Zip/Postal code: </label> |
743 |
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" /> |
744 |
[% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %] |
745 |
</li> |
746 |
[% END %] |
747 |
[% UNLESS noB_country %] |
748 |
<li> |
749 |
[% IF ( mandatoryB_country ) %] |
750 |
<label for="B_country" class="required"> |
751 |
[% ELSE %] |
752 |
<label for="B_country"> |
753 |
[% END %] |
754 |
Country: </label> |
755 |
<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" /> |
756 |
[% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %] |
757 |
</li> |
758 |
[% END %] |
759 |
[% UNLESS noB_phone %] |
760 |
<li> |
761 |
[% IF ( mandatoryB_phone ) %] |
762 |
<label for="B_phone" class="required"> |
763 |
[% ELSE %] |
764 |
<label for="B_phone"> |
765 |
[% END %] |
766 |
Phone: </label> |
767 |
<input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" /> |
768 |
[% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %] |
769 |
</li> |
770 |
[% END %] |
771 |
[% UNLESS noB_email %] |
772 |
<li> |
773 |
[% IF ( mandatoryB_email ) %] |
774 |
<label for="B_email" class="required"> |
775 |
[% ELSE %] |
776 |
<label for="B_email"> |
777 |
[% END %] |
778 |
Email: </label> |
779 |
<input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" /> |
780 |
[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li> |
781 |
[% END %] |
782 |
[% UNLESS nocontactnote %] |
783 |
<li> |
784 |
[% IF ( mandatorycontactnote ) %] |
785 |
<label for="contactnote" class="required"> |
786 |
[% ELSE %] |
787 |
<label for="contactnote"> |
788 |
[% END %] |
789 |
Contact note: </label> |
790 |
<textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea> |
791 |
[% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %] |
792 |
</li> |
793 |
[% END %] |
794 |
</ol> |
795 |
</fieldset> |
796 |
[% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] |
563 |
[% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] |
797 |
[% END %] |
564 |
[% END %] |
798 |
[% IF ( step_2 ) %] |
565 |
[% IF ( step_2 ) %] |
799 |
[% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %] |
566 |
[% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %] |
800 |
<fieldset class="rows" id="memberentry_altaddress"> |
567 |
[% INCLUDE 'member-alt-contact-style-us.inc' %] |
801 |
<legend id="alt_contact_lgd">Alternate contact</legend><ol> |
|
|
802 |
[% UNLESS noaltcontactsurname %] |
803 |
<li> |
804 |
[% IF ( mandatoryaltcontactsurname ) %] |
805 |
<label for="altcontactsurname" class="required"> |
806 |
[% ELSE %] |
807 |
<label for="altcontactsurname"> |
808 |
[% END %] |
809 |
Surname:</label> |
810 |
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" /> |
811 |
[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %] |
812 |
</li> |
813 |
[% END %] |
814 |
[% UNLESS noaltcontactfirstname %] |
815 |
<li> |
816 |
[% IF ( mandatoryaltcontactfirstname ) %] |
817 |
<label for="altcontactfirstname" class="required"> |
818 |
[% ELSE %] |
819 |
<label for="altcontactfirstname"> |
820 |
[% END %] |
821 |
First name:</label> |
822 |
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" /> |
823 |
[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %] |
824 |
</li> |
825 |
[% END %] |
826 |
[% UNLESS noaltcontactaddress1 %] |
827 |
<li> |
828 |
[% IF ( mandatoryaltcontactaddress1 ) %] |
829 |
<label for="altcontactaddress1" class="required"> |
830 |
[% ELSE %] |
831 |
<label for="altcontactaddress1"> |
832 |
[% END %] |
833 |
Address:</label> |
834 |
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" /> |
835 |
[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %] |
836 |
</li> |
837 |
[% END %] |
838 |
[% UNLESS noaltcontactaddress2 %] |
839 |
<li> |
840 |
[% IF ( mandatoryaltcontactaddress2 ) %] |
841 |
<label for="altcontactaddress2" class="required"> |
842 |
[% ELSE %] |
843 |
<label for="altcontactaddress2"> |
844 |
[% END %] |
845 |
Address 2:</label> |
846 |
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" size="40" /> |
847 |
[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %] |
848 |
</li> |
849 |
[% END %] |
850 |
[% UNLESS noaltcontactaddress3 %] |
851 |
<li> |
852 |
[% IF ( mandatoryaltcontactaddress3 ) %] |
853 |
<label for="altcontactaddress3" class="required"> |
854 |
[% ELSE %] |
855 |
<label for="altcontactaddress3"> |
856 |
[% END %] |
857 |
City:</label> |
858 |
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" /> |
859 |
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %] |
860 |
</li> |
861 |
[% END %] |
862 |
[% UNLESS noaltcontactstate %] |
863 |
<li> |
864 |
[% IF ( mandatoryaltcontactstate ) %] |
865 |
<label for="altcontactstate" class="required"> |
866 |
[% ELSE %] |
867 |
<label for="altcontactstate"> |
868 |
[% END %] |
869 |
State:</label> |
870 |
<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" /> |
871 |
[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %] |
872 |
</li> |
873 |
[% END %] |
874 |
[% UNLESS noaltcontactzipcode %] |
875 |
<li> |
876 |
[% IF ( mandatoryaltcontactzipcode ) %] |
877 |
<label for="altcontactzipcode" class="required"> |
878 |
[% ELSE %] |
879 |
<label for="altcontactzipcode"> |
880 |
[% END %] |
881 |
Zip/Postal code:</label> |
882 |
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" /> |
883 |
[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %] |
884 |
</li> |
885 |
[% END %] |
886 |
[% UNLESS noaltcontactcountry %] |
887 |
<li> |
888 |
[% IF ( mandatoryaltcontactcountry ) %] |
889 |
<label for="altcontactcountry" class="required"> |
890 |
[% ELSE %] |
891 |
<label for="altcontactcountry"> |
892 |
[% END %] |
893 |
Country:</label> |
894 |
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" size="20" /> |
895 |
[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %] |
896 |
</li> |
897 |
[% END %] |
898 |
[% UNLESS noaltcontactphone %] |
899 |
<li> |
900 |
[% IF ( mandatoryaltcontactphone ) %] |
901 |
<label for="altcontactphone" class="required"> |
902 |
[% ELSE %] |
903 |
<label for="altcontactphone"> |
904 |
[% END %] |
905 |
Phone:</label> |
906 |
<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" /> |
907 |
[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %] |
908 |
</li> |
909 |
[% END %] |
910 |
</ol> |
911 |
</fieldset> |
912 |
[% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] |
568 |
[% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] |
913 |
|
569 |
|
914 |
[% END %] |
570 |
[% END %] |
915 |
- |
|
|