Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. jQuery( "#modalform" ).validate({
  2. rules: {
  3. chosen_domain: {
  4. required: true,
  5. minlength: 4,
  6. remote: "index.php?option=com_component&task=checkDomain&tmpl=component"
  7. }
  8. },
  9. messages: {
  10. chosen_domain: {
  11. required: "Required input",
  12. minlength: jQuery.validator.format("Please, at least {0} characters are necessary"),
  13. remote: jQuery.validator.format("{0} is already in use"),
  14. }
  15. }
  16. });
  17.  
  18. <body class="contentpane">
  19. <div id="window-mainbody" class="window-mainbody">
  20. <div id="system-message-container">
  21. </div>
  22.  
  23. "false"
  24. </div>
  25. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement