Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

_limitLength.jst 358B

123456789101112
  1. {{# def.definitions }}
  2. {{# def.errors }}
  3. {{# def.setupKeyword }}
  4. {{# def.$data }}
  5. {{# def.numberKeyword }}
  6. {{ var $op = $keyword == 'maxLength' ? '>' : '<'; }}
  7. if ({{# def.$dataNotType:'number' }} {{# def.strLength }} {{=$op}} {{=$schemaValue}}) {
  8. {{ var $errorKeyword = $keyword; }}
  9. {{# def.error:'_limitLength' }}
  10. } {{? $breakOnError }} else { {{?}}