State returned by submitSurvey.
On validation failure, submitted carries the user's answers back so the form can repopulate them (React clears form fields after a submit).
submitted
State returned by submitSurvey.
On validation failure,
submittedcarries the user's answers back so the form can repopulate them (React clears form fields after a submit).