Ignore:
Timestamp:
11 Jun 2018, 07:29:33 (6 years ago)
Author:
Henrik Bettermann
Message:

Add validation expression for JAMB registration numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/interfaces.py

    r14828 r15045  
    3737from waeup.kofa.students.vocabularies import nats_vocab, GenderSource
    3838from kofacustom.nigeria.interfaces import (
    39     LGASource, high_qual, high_grade, exam_types)
     39    LGASource, high_qual, high_grade, exam_types, validate_jamb_reg_number)
    4040from kofacustom.nigeria.interfaces import MessageFactory as _
    4141from kofacustom.nigeria.payments.interfaces import INigeriaOnlinePayment
     
    357357        title = _(u'JAMB Registration Number'),
    358358        required = False,
     359        constraint=validate_jamb_reg_number,
    359360        )
    360361    notice = schema.Text(
Note: See TracChangeset for help on using the changeset viewer.