Support the ongoing development of Laravel.io →
Views Forms Validation

I want to pass Former to array and then view it like

// in view
$form = array(
Former::text(),
Former::text(),
Former::text(),
);

foreach($form as $value){
    echo $value.'<br>';
}

It have problem with errors message when validator->fails(), by return duplicated of errors message in the text box nearly.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

yuomtheara yuomtheara Joined 12 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.