Friday, May 18, 2018

How to display form input box old value in Laravel

This way data will be shown inside a text field, which would be editable. I assume you want to update multiple records from single form. In that case validate form and false form after see old data in your form. You may also like File Upload in Laravel 5 using Ajax With Form Data and How to Ajax Pagination in Laravel 5.

Code
<input type="text" name="title" value="{{ old('title') }}" >

No comments:

Post a Comment