Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <form id="a1">
  2. <input type="email" name="xy">
  3. </form>
  4.  
  5. <form id="a2">
  6. <input type="email" name="xy">
  7. </form>
  8.  
  9. $('#a1').bootstrapValidator({
  10. message: 'This value is not valid',
  11. fields: {
  12. xy: {
  13. validators: {
  14. emailAddress: {
  15. message: 'Invalid mail-address'
  16. }
  17. }
  18. }
  19. }
  20. });
  21.  
  22. $('#a2').bootstrapValidator({
  23. message: 'This value is not valid',
  24. fields: {
  25. xy: {
  26. validators: {
  27. emailAddress: {
  28. message: 'Invalid mail-address'
  29. }
  30. }
  31. }
  32. }
  33. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement