Lines 433-562
Link Here
|
433 |
|
433 |
|
434 |
[% END %] |
434 |
[% END %] |
435 |
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %] |
435 |
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %] |
436 |
<fieldset class="rows" id="memberentry_mainaddress"> |
436 |
[% INCLUDE 'member-main-address-style-us.inc' %] |
437 |
<legend id="main_address_lgd">Main address</legend><ol> |
|
|
438 |
[% UNLESS nostreetnumber %] |
439 |
<li> |
440 |
[% IF ( mandatorystreetnumber ) %] |
441 |
<label for="streetnumber" class="required"> |
442 |
[% ELSE %] |
443 |
<label for="streetnumber"> |
444 |
[% END %] |
445 |
Street number: </label> |
446 |
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% streetnumber %]" /> |
447 |
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %] |
448 |
</li> |
449 |
[% END %] |
450 |
[% UNLESS nostreettype %] |
451 |
[% IF roadtypes %] |
452 |
<li> |
453 |
[% IF ( mandatorystreettype ) %] |
454 |
<label for="streettype" class="required"> |
455 |
[% ELSE %] |
456 |
<label for="streettype"> |
457 |
[% END %] |
458 |
Street type: </label> |
459 |
<select name="streettype"> |
460 |
<option value=""></option> |
461 |
[% FOR roadtype IN roadtypes %] |
462 |
[% IF roadtype.selected %] |
463 |
<option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option> |
464 |
[% ELSE %] |
465 |
<option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option> |
466 |
[% END %] |
467 |
[% END %] |
468 |
</select> |
469 |
[% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %] |
470 |
</li> |
471 |
[% END %] |
472 |
[% END %] |
473 |
[% UNLESS noaddress %] |
474 |
<li> |
475 |
[% IF ( mandatoryaddress ) %] |
476 |
<label for="address" class="required"> |
477 |
[% ELSE %] |
478 |
<label for="address"> |
479 |
[% END %] |
480 |
Address: </label> |
481 |
<input type="text" id="address" name="address" size="35" value="[% address %]" /> |
482 |
[% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %] |
483 |
</li> |
484 |
[% END %] |
485 |
[% UNLESS noaddress2 %] |
486 |
<li> |
487 |
[% IF ( mandatoryaddress2 ) %] |
488 |
<label for="address2" class="required"> |
489 |
[% ELSE %] |
490 |
<label for="address2"> |
491 |
[% END %] |
492 |
Address 2: </label> |
493 |
<input type="text" id="address2" name="address2" size="35" value="[% address2 %]" /> |
494 |
[% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %] |
495 |
</li> |
496 |
[% END %] |
497 |
[% UNLESS nocity %] |
498 |
<li> |
499 |
[% IF ( mandatorycity ) %] |
500 |
<label for="city" class="required"> |
501 |
[% ELSE %] |
502 |
<label for="city"> |
503 |
[% END %] |
504 |
City: </label> |
505 |
<input type="text" id="city" name="city" size="20" value="[% city %]" /> |
506 |
[% IF ( city_cgipopup ) %]or <strong>choose</strong> |
507 |
<select id="select_city" name="select_city"> |
508 |
[% FOREACH city_loo IN city_loop %] |
509 |
[% IF ( city_loo.selected ) %] |
510 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]" selected="selected"> |
511 |
[% ELSE %] |
512 |
<option value="[% city_loo.city_zipcode %]|[% city_loo.city_name %]|[% city_loo.city_state %]|[% city_loo.city_country %]"> |
513 |
[% END %] |
514 |
[% city_loo.city_name %] [% city_loo.city_state %] [% city_loo.city_zipcode %] |
515 |
</option> |
516 |
[% END %] |
517 |
</select> |
518 |
[% END %] |
519 |
[% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %] |
520 |
</li> |
521 |
[% END %] |
522 |
[% UNLESS nostate %] |
523 |
<li> |
524 |
[% IF ( mandatorystate ) %] |
525 |
<label for="state" class="required"> |
526 |
[% ELSE %] |
527 |
<label for="state"> |
528 |
[% END %] |
529 |
State: </label> |
530 |
<input type="text" name="state" id="state" size="20" value="[% state %]" /> |
531 |
[% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %] |
532 |
</li> |
533 |
[% END %] |
534 |
[% UNLESS nozipcode %] |
535 |
<li> |
536 |
[% IF ( mandatoryzipcode ) %] |
537 |
<label for="zipcode" class="required"> |
538 |
[% ELSE %] |
539 |
<label for="zipcode"> |
540 |
[% END %] |
541 |
Zip/Postal code: </label> |
542 |
<input type="text" name="zipcode" id="zipcode" size="10" value="[% zipcode %]" /> |
543 |
[% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %] |
544 |
</li> |
545 |
[% END %] |
546 |
[% UNLESS nocountry %] |
547 |
<li> |
548 |
[% IF ( mandatorycountry ) %] |
549 |
<label for="country" class="required"> |
550 |
[% ELSE %] |
551 |
<label for="country"> |
552 |
[% END %] |
553 |
Country: </label> |
554 |
<input type="text" name="country" id="country" size="20" value="[% country %]" /> |
555 |
[% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %] |
556 |
</li> |
557 |
[% END %] |
558 |
</ol> |
559 |
</fieldset> |
560 |
[% END # nostreet && nocity etc group%] |
437 |
[% END # nostreet && nocity etc group%] |
561 |
|
438 |
|
562 |
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] |
439 |
[% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] |
Lines 645-877
Link Here
|
645 |
[% IF ( step_6 ) %] |
522 |
[% IF ( step_6 ) %] |
646 |
|
523 |
|
647 |
[% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %] |
524 |
[% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %] |
648 |
<fieldset class="rows" id="memberentry_address"> |
525 |
[% INCLUDE 'member-alt-address-style-us.inc' %] |
649 |
<legend id="alt_address_lgd">Alternate address</legend><ol> |
|
|
650 |
[% UNLESS noB_address %] |
651 |
<li> |
652 |
[% IF ( mandatoryB_address ) %] |
653 |
<label for="B_address" class="required"> |
654 |
[% ELSE %] |
655 |
<label for="B_address"> |
656 |
[% END %] |
657 |
Address: </label> |
658 |
<input type="text" id="B_address" name="B_address" size="40" value="[% B_address %]" /> |
659 |
[% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %] |
660 |
</li> |
661 |
[% END %] |
662 |
[% UNLESS noB_address2 %] |
663 |
<li> |
664 |
[% IF ( mandatoryB_address2 ) %] |
665 |
<label for="B_address2" class="required"> |
666 |
[% ELSE %] |
667 |
<label for="B_address2"> |
668 |
[% END %] |
669 |
Address 2: </label> |
670 |
<input type="text" id="B_address2" name="B_address2" size="40" value="[% B_address2 %]" /> |
671 |
[% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %] |
672 |
</li> |
673 |
[% END %] |
674 |
[% UNLESS noB_city %] |
675 |
<li> |
676 |
[% IF ( mandatoryB_city ) %] |
677 |
<label for="B_city" class="required" > |
678 |
[% ELSE %] |
679 |
<label for="B_city"> |
680 |
[% END %] |
681 |
City: </label> |
682 |
<input type="text" id="B_city" name="B_city" size="20" value="[% B_city %]" /> |
683 |
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %] |
684 |
</li> |
685 |
[% END %] |
686 |
[% UNLESS noB_state %] |
687 |
<li> |
688 |
[% IF ( mandatoryB_state ) %] |
689 |
<label for="B_state" class="required" > |
690 |
[% ELSE %] |
691 |
<label for="B_state"> |
692 |
[% END %] |
693 |
State: </label> |
694 |
<input type="text" id="B_state" name="B_state" size="20" value="[% B_state %]" /> |
695 |
[% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %] |
696 |
</li> |
697 |
[% END %] |
698 |
[% UNLESS noB_zipcode %] |
699 |
<li> |
700 |
[% IF ( mandatoryB_zipcode ) %] |
701 |
<label for="B_zipcode" class="required"> |
702 |
[% ELSE %] |
703 |
<label for="B_zipcode"> |
704 |
[% END %] |
705 |
Zip/Postal code: </label> |
706 |
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% B_zipcode %]" /> |
707 |
[% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %] |
708 |
</li> |
709 |
[% END %] |
710 |
[% UNLESS noB_country %] |
711 |
<li> |
712 |
[% IF ( mandatoryB_country ) %] |
713 |
<label for="B_country" class="required"> |
714 |
[% ELSE %] |
715 |
<label for="B_country"> |
716 |
[% END %] |
717 |
Country: </label> |
718 |
<input type="text" id="B_country" name="B_country" size="20" value="[% B_country %]" /> |
719 |
[% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %] |
720 |
</li> |
721 |
[% END %] |
722 |
[% UNLESS noB_phone %] |
723 |
<li> |
724 |
[% IF ( mandatoryB_phone ) %] |
725 |
<label for="B_phone" class="required"> |
726 |
[% ELSE %] |
727 |
<label for="B_phone"> |
728 |
[% END %] |
729 |
Phone: </label> |
730 |
<input type="text" id="B_phone" name="B_phone" value="[% B_phone %]" /> |
731 |
[% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %] |
732 |
</li> |
733 |
[% END %] |
734 |
[% UNLESS noB_email %] |
735 |
<li> |
736 |
[% IF ( mandatoryB_email ) %] |
737 |
<label for="B_email" class="required"> |
738 |
[% ELSE %] |
739 |
<label for="B_email"> |
740 |
[% END %] |
741 |
Email: </label> |
742 |
<input type="text" id="B_email" name="B_email" size="45" value="[% B_email %]" /> |
743 |
[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li> |
744 |
[% END %] |
745 |
[% UNLESS nocontactnote %] |
746 |
<li> |
747 |
[% IF ( mandatorycontactnote ) %] |
748 |
<label for="contactnote" class="required"> |
749 |
[% ELSE %] |
750 |
<label for="contactnote"> |
751 |
[% END %] |
752 |
Contact note: </label> |
753 |
<textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea> |
754 |
[% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %] |
755 |
</li> |
756 |
[% END %] |
757 |
</ol> |
758 |
</fieldset> |
759 |
[% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] |
526 |
[% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] |
760 |
[% END %] |
527 |
[% END %] |
761 |
[% IF ( step_2 ) %] |
528 |
[% IF ( step_2 ) %] |
762 |
[% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %] |
529 |
[% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %] |
763 |
<fieldset class="rows" id="memberentry_altaddress"> |
530 |
[% INCLUDE 'member-alt-contact-style-us.inc' %] |
764 |
<legend id="alt_contact_lgd">Alternate contact</legend><ol> |
|
|
765 |
[% UNLESS noaltcontactsurname %] |
766 |
<li> |
767 |
[% IF ( mandatoryaltcontactsurname ) %] |
768 |
<label for="altcontactsurname" class="required"> |
769 |
[% ELSE %] |
770 |
<label for="altcontactsurname"> |
771 |
[% END %] |
772 |
Surname:</label> |
773 |
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% altcontactsurname %]" /> |
774 |
[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %] |
775 |
</li> |
776 |
[% END %] |
777 |
[% UNLESS noaltcontactfirstname %] |
778 |
<li> |
779 |
[% IF ( mandatoryaltcontactfirstname ) %] |
780 |
<label for="altcontactfirstname" class="required"> |
781 |
[% ELSE %] |
782 |
<label for="altcontactfirstname"> |
783 |
[% END %] |
784 |
First name:</label> |
785 |
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% altcontactfirstname %]" /> |
786 |
[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %] |
787 |
</li> |
788 |
[% END %] |
789 |
[% UNLESS noaltcontactaddress1 %] |
790 |
<li> |
791 |
[% IF ( mandatoryaltcontactaddress1 ) %] |
792 |
<label for="altcontactaddress1" class="required"> |
793 |
[% ELSE %] |
794 |
<label for="altcontactaddress1"> |
795 |
[% END %] |
796 |
Address:</label> |
797 |
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% altcontactaddress1 %]" size="40" /> |
798 |
[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %] |
799 |
</li> |
800 |
[% END %] |
801 |
[% UNLESS noaltcontactaddress2 %] |
802 |
<li> |
803 |
[% IF ( mandatoryaltcontactaddress2 ) %] |
804 |
<label for="altcontactaddress2" class="required"> |
805 |
[% ELSE %] |
806 |
<label for="altcontactaddress2"> |
807 |
[% END %] |
808 |
Address 2:</label> |
809 |
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% altcontactaddress2 %]" size="40" /> |
810 |
[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %] |
811 |
</li> |
812 |
[% END %] |
813 |
[% UNLESS noaltcontactaddress3 %] |
814 |
<li> |
815 |
[% IF ( mandatoryaltcontactaddress3 ) %] |
816 |
<label for="altcontactaddress3" class="required"> |
817 |
[% ELSE %] |
818 |
<label for="altcontactaddress3"> |
819 |
[% END %] |
820 |
City:</label> |
821 |
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% altcontactaddress3 %]" size="20" /> |
822 |
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %] |
823 |
</li> |
824 |
[% END %] |
825 |
[% UNLESS noaltcontactstate %] |
826 |
<li> |
827 |
[% IF ( mandatoryaltcontactstate ) %] |
828 |
<label for="altcontactstate" class="required"> |
829 |
[% ELSE %] |
830 |
<label for="altcontactstate"> |
831 |
[% END %] |
832 |
State:</label> |
833 |
<input type="text" name="altcontactstate" id="altcontactstate" value="[% altcontactstate %]" size="20" /> |
834 |
[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %] |
835 |
</li> |
836 |
[% END %] |
837 |
[% UNLESS noaltcontactzipcode %] |
838 |
<li> |
839 |
[% IF ( mandatoryaltcontactzipcode ) %] |
840 |
<label for="altcontactzipcode" class="required"> |
841 |
[% ELSE %] |
842 |
<label for="altcontactzipcode"> |
843 |
[% END %] |
844 |
Zip/Postal code:</label> |
845 |
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% altcontactzipcode %]" size="5" /> |
846 |
[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %] |
847 |
</li> |
848 |
[% END %] |
849 |
[% UNLESS noaltcontactcountry %] |
850 |
<li> |
851 |
[% IF ( mandatoryaltcontactcountry ) %] |
852 |
<label for="altcontactcountry" class="required"> |
853 |
[% ELSE %] |
854 |
<label for="altcontactcountry"> |
855 |
[% END %] |
856 |
Country:</label> |
857 |
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% altcontactcountry %]" size="20" /> |
858 |
[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %] |
859 |
</li> |
860 |
[% END %] |
861 |
[% UNLESS noaltcontactphone %] |
862 |
<li> |
863 |
[% IF ( mandatoryaltcontactphone ) %] |
864 |
<label for="altcontactphone" class="required"> |
865 |
[% ELSE %] |
866 |
<label for="altcontactphone"> |
867 |
[% END %] |
868 |
Phone:</label> |
869 |
<input type="text" name="altcontactphone" id="altcontactphone" value="[% altcontactphone %]" /> |
870 |
[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %] |
871 |
</li> |
872 |
[% END %] |
873 |
</ol> |
874 |
</fieldset> |
875 |
[% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] |
531 |
[% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] |
876 |
|
532 |
|
877 |
[% END %] |
533 |
[% END %] |
878 |
- |
|
|