The property is set after submission of a code to see if it was valid. Check this property if you don't have AutoRedirect enabled.
Public Property ReadOnly IsValid As Boolean
public bool IsValid { get; }
public: __property bool get_IsValid();
public function get IsValid() : bool