Is this code correct? I\'m trying to submit it and also I would like on submit if text area would be empty again.
What are you actually looking for? Does it return the data in response too? Add the functions to track your the error case too. Make something like
Else, seems all fine.