you can check this video from jack herrington although not for trpc itself but the concept is close enough to the form validation you want to achieve https://youtu.be/VLk45JBe8L8?si=ioRDyMJ-q9XUs_Wj
Let's figure out how to get form actions and React Hook Form to work together to get the best from both; client AND server side validation when JavaScript is enabled on the client, and user friendly server side validation when it's not enabled.