You can use your stored form state to write a custom validation rules by simply providing the disabled prop to the native HTML button.