Custom Error Label Placement using jQuery validate (For all or some of your errors)

后端 未结 4 1818
执笔经年
执笔经年 2020-12-12 14:07

I would like to place one error label (Not All) in a custom location. jQuery provides this http://docs.jquery.com/Plugins/Validation/validate#toptions optio

4条回答
  •  天涯浪人
    2020-12-12 15:13

    I found that if you have more than two labels for custom errors in diferent locations, there can be a crazy position error if you does nor make a single return on each if for errorPlacement, in this sample I have two checkboxes, error label, one checkbox, one label

    HTML Code


    Script

    
    

提交回复
热议问题