Support the ongoing development of →
posted 9 years ago
Last updated 2 years ago.

I noticed that also while reading the documentation, don't know what are they exactly mean for that I just used the messagebag instance for setting up the default format

$errors->setFormat("<div class='alert alert-danger'>:message</div>");

or after validation like that

$validator->messages()->setFormat("<div class='alert alert-danger'>:message</div>");
return View::make('formview')->withErrors($validator);

but I don't know how to setFormat Globally, I think this is not a big problem

Last updated 9 years ago.

Sign in to participate in this thread!


Your banner here too?

Debiprasad debiprasad Joined 18 Jun 2014


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

Your logo here?

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

© 2024 - All rights reserved.