SolidJSS
SolidJS4y ago
9 replies
apollo79

SolidStart render page from POST function

I have a form in SolidStart with method="post" and action="".
To validate the form on server side, I export a POST function.
However I am wondering how I could, if the data I got isn't valid, show the form again with the data the user already submitted (and maybe additional error messages) from this POST function?
Was this page helpful?