validators.js 207 B

12345678910111213
  1. App.Validate.ipForm = function(values){
  2. if(values.IP_ADDRESS == '') {
  3. return alert('Not correct ip');
  4. }
  5. return true;
  6. }
  7. App.Validate.dnsForm = function(values){
  8. return true;
  9. }