turned off remove empty for hostname and password (pw only during setup wizard) so that they get validated when they have empty values. This will cause the javascript and validate functions to work during setup wizard.