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

timny's avatar
Level 1

Passing validation errors from the controller to .vue in Inertia

I have this script file, on submitting the form I want it to validate the inputs and respond respectively, kinda stuck, please help

BusinessRegister.vue

routes/web.php

Route::post('validate-step', [BusinessRegisterController::class, 'validateStep'])->name('validate-step');

BusinessRegisterController.php

0 likes
1 reply

Please or to participate in this conversation.