$("#mapManagerEditForm").bootstrapValidator("addField","floors",{

     validators : {
            notEmpty : {
            message : '<span style="color: #a94442!important">楼层不能为空</span>'
                       },
      regexp : {
                    regexp : "(^B[1-9][0-9]*$)|(^[1-9][0-9]*F$)",
                    message : '<span style="color: #a94442!important">楼层以B开头或者F结尾</span>'
      }
}});

相关文章:

  • 2022-12-23
  • 2021-08-01
  • 2021-05-27
  • 2021-05-19
猜你喜欢
  • 2022-01-14
  • 2022-12-23
  • 2021-10-15
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
相关资源
相似解决方案