Added IP address/netmask validation to form.