Changeset 16565 for main/kofacustom.iuokada/trunk/src
- Timestamp:
- 6 Aug 2021, 06:59:16 (3 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser.py
r16559 r16565 330 330 def dataNotComplete(self, data): 331 331 store = getUtility(IExtFileStore) 332 if self.context.subtype not in ('transfer', 'de') \ 333 and (not self.context.jamb_fname 334 or not self.context.jamb_reg_number): 335 return _('JAMB fields must be filled.') 332 336 if self.context.__parent__.with_picture: 333 337 store = getUtility(IExtFileStore) -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/interfaces.py
r16558 r16565 693 693 title = _(u'Full Name'), 694 694 description = _(u'As it is written on your JAMB result slip.'), 695 required = True,695 required = False, 696 696 readonly = False, 697 697 ) … … 704 704 jamb_reg_number = schema.TextLine( 705 705 title = _(u'JAMB Registration Number'), 706 required = True,706 required = False, 707 707 constraint=validate_jamb_reg_number_2, # temporarily in 2021 708 708 description = _(u'Use all CAPS when entering the field.'),
Note: See TracChangeset for help on using the changeset viewer.