Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bhavya99044-11's avatar

Livewire with jquery validation possible?

I want a client side validation for livewire component.

0 likes
2 replies
martinbean's avatar

@bhavya99044-11 I’d suggest taking a look at Alpine. It pairs much better with Livewire (since they’re both made by the same creator), and Alpine is far more relevant in 2025 than jQuery.

jlrdw's avatar

Regular javascript would do what you need.

And just FYI, I had switched to fetch js, then to axios js.

However with the sucurity problems in axios I have even considered going back to jquery for some things, like where i need to post with ajax, or juat a quick partial page reload.

It's a shame really, because I liked axios js a lot, and it is so easy to use. But if they can't keep it secure, it's not for me.

But again some small regular JS is all you should need in my opinion.

I tried alpine js, but could not get a server fetched partial working with it with pagination, so for now it's fetch js and regular js I am using.. Even the creator of alpine has a video on server fetched partials.

I know I explained more than you ask, but just sharing some insights.

Please or to participate in this conversation.