add some form validation for network properties