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

Cushty's avatar
Level 4

Reuse wizard on frontend

Hi I have a wizard on the create resource, but I want to make it available on the front end, is there an easy way to reuse the form on the front end? and not have to rebuild all fields from scratch? Thanks

0 likes
3 replies
Tray2's avatar

Sure, just move the code into another class, perhaps the model and then use like

Model::form();
Cushty's avatar
Level 4

@Tray2 Thanks for the reply, I have done this for the resource and it works great, do I need to make a separate wizard form in the model and call this from the create resource and front-end livewire component so the wizard has a form to? Thanks

Please or to participate in this conversation.