As you can see, I have a form where I’ll be submitting a server action. I don’t want my submit button to be disabled (only when isSubmitting = true). However, when clicking the button, I’d first like to validate the form, and if isValid = false, I want to prevent the submit.
By the way, could you also take a look and let me know whether my form makes sense in general? Am I invoking the server action correctly?