'keith-wood Signature not working on production
jQuery UI Signature working on local but not working on live server javascript:
var sig = $('#sig').signature({syncField: '#signature64', syncFormat: 'PNG',svgStyles: true});
$('#clear').click(function(e) {
e.preventDefault();
sig.signature('clear');
$("#signature64").val('');
});
HTML code:
<label class="" for="">Signature:</label>
<br/>
<div id="sig" ></div>
<br/>
<button id="clear" class="btn btn-danger btn-sm">Clear Signature</button>
<textarea id="signature64" name="signed" style="display: none">
</textarea>
route:
Route::POST('bene/store/', [App\Http\Controllers\BeneficiaryController::class, 'store'])->name('beneficiary.store');
everything seems fine but whenever I submit my form got that error
thanks in Advance!!
Solution 1:[1]
Increase post max size in php.ini file then this issue will fixed.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | user3632390 |