Can you tell me a way to disable the submit button, which changes to a new state by:
Submit
The butto
The easiest way that I found to do it conditionally in the template
When your condition is met, i point it to the current state which doesn't activate the transition else I transition to the state needed.
Disabled Link