Disabling continue button when errors