Commit 500752ed authored by Olga Brani's avatar Olga Brani
Browse files

Project js validation messages

parent da5d8c5a
......@@ -130,7 +130,7 @@ $(document).ready(function() {
} else {
var num = parseInt(value);
if ( num == '0' ) {
flag = 1 ; msg="zero"
flag = 1 ; msg="This value can not be zero. Try something like 10GB, 2MB etc"
} else {
if ( value && !num ) { flag = 1 ; msg="Invalid format. Try something like 10GB, 2MB etc"}
......@@ -169,7 +169,7 @@ $(document).ready(function() {
} else {
if (num) {
flag = 1;
msg ="You must specify correct units"
msg ="You must specify correct units. Try something like 10GB, 2MB etc"
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment