- This topic has 1 reply, 1 voice, and was last updated 7 years, 5 months ago by .
-
Record to Database
I want to add another form field when backers donate. I have created this in the checkout.blade.php
<input type=”text” class=”form-control” id=”comment” value=”@if(Auth::check()){{auth()>user()>comment}}@else{{ old(‘comment’) }}@endif” name=”comment” placeholder=”Leave a comment here”> {!! $errors->has(‘comment’)? ‘
’.$errors->first(‘comment’).’’:’’ !!}
I added column in payments table ‘comment’When i submint donation in the database it give me NULL. What do i need to add to record input field?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
Purchase for access
Buy a copy of GetFund – A Professional Laravel Crowdfunding Platform for access to our member center.