Is it possible to handle form submissions without having to make the process client side?
Unanswered
Cape lion posted this in #help-forum
Cape lionOP
If I have a input box and I want to use whatever the input user gave and make an API call and the display the fetched data on the webpage. Is it possible to do it without having to use States?
1 Reply
Yeah you can, take a look at this example from the docs, using
https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations#forms
FormDatahttps://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations#forms