Changeset 16544 for main/kofacustom.iuokada/trunk
- Timestamp:
- 13 Jul 2021, 12:31:57 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/interfaces.py
r16540 r16544 635 635 email = TextLineChoice( 636 636 title = _(u'Email Address'), 637 required = False,638 637 constraint=validate_email, 639 638 source = contextual_email_source, 639 required = True, 640 640 ) 641 641 date_of_birth = FormattedDate( … … 643 643 required = True, 644 644 show_year = True, 645 ) 646 647 parents_name = schema.TextLine( 648 title = _(u'Full Name'), 649 required = True, 650 readonly = False, 651 ) 652 653 parents_email = schema.ASCIILine( 654 title = _(u'Email Address'), 655 required = True, 656 constraint=validate_email, 657 ) 658 659 parents_phone = PhoneNumber( 660 title = _(u'Phone'), 661 required = True, 645 662 ) 646 663 … … 662 679 title = _(u'Full Name'), 663 680 description = _(u'As it is written on your JAMB result slip.'), 664 required = False, 665 readonly = False, 681 required = True, 682 readonly = False, 683 ) 684 685 jamb_score = schema.Int( 686 title = _(u'Total JAMB Score'), 687 required = True, 688 ) 689 690 jamb_reg_number = schema.TextLine( 691 title = _(u'JAMB Registration Number'), 692 required = True, 693 constraint=validate_jamb_reg_number, 694 description = _(u'Use all CAPS when entering the field.'), 666 695 ) 667 696 … … 678 707 ICustomUGApplicantEdit[ 679 708 'jamb_fname'].order = ICustomUGApplicant['jamb_fname'].order 709 ICustomUGApplicantEdit[ 710 'jamb_score'].order = ICustomUGApplicant['jamb_score'].order 711 ICustomUGApplicantEdit[ 712 'jamb_reg_number'].order = ICustomUGApplicant['jamb_reg_number'].order 713 ICustomUGApplicantEdit[ 714 'parents_name'].order = ICustomUGApplicant['parents_name'].order 715 ICustomUGApplicantEdit[ 716 'parents_email'].order = ICustomUGApplicant['parents_email'].order 717 ICustomUGApplicantEdit[ 718 'parents_phone'].order = ICustomUGApplicant['parents_phone'].order 680 719 681 720 class ICustomPGApplicantEdit(ICustomPGApplicant):
Note: See TracChangeset for help on using the changeset viewer.