Form hangs on web page due to Required validation