diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css index 5f1b15c99ab..943510307d1 100644 --- a/ui/css/cloudstack3.css +++ b/ui/css/cloudstack3.css @@ -4928,6 +4928,10 @@ label.error { margin: 0 0 0 11px; } +.multi-wizard.instance-wizard .select-network .select.new-network label.error { + display: none !important; +} + .multi-wizard.instance-wizard .select-network .select.new-network .secondary-input { width: 97px; padding: 13px 0 17px; diff --git a/ui/index.jsp b/ui/index.jsp index a88eed611ea..f31407e60d9 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -236,7 +236,7 @@
diff --git a/ui/scripts/ui-custom/instanceWizard.js b/ui/scripts/ui-custom/instanceWizard.js index c5c6491a8be..461a074ffca 100644 --- a/ui/scripts/ui-custom/instanceWizard.js +++ b/ui/scripts/ui-custom/instanceWizard.js @@ -583,7 +583,11 @@ // Next button if ($target.closest('div.button.next').size()) { - if (!$form.valid()) return false; + if (!$form.valid()) { + if ($form.find('input.error:visible, select.error:visible').size()) { + return false; + } + } showStep($steps.filter(':visible').index() + 2);